SHARE
TWEET

Untitled

a guest Feb 27th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. t=1/8:2/8:2;
  2.  
  3. m= 6*sin(2*pi*t)
  4. plot(t,m)
  5.  
  6. mQ= [9/2 9/2 9/2 -9/2]
  7.  
  8.  
  9. Erro =(m(1:4)-mQ).*(m(1:4)-mQ)
  10.  
  11. Erro = (m(1:4)-mQ).^2;
  12. E=sum(Erro)/4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top