Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. a=1;
  2. w=1;
  3. t= -2*pi:0.1:2*pi;
  4. y = A/2 + 2*A/pi*(cos(t)-1/3*cos(3*t) + 1/5* cos(5*t) - 1/7 * cos(7*t) + 1/9*cos(9*t) - 1/11*cos(11*t));
  5. plot(t,y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement