Guest User

Untitled

a guest
Mar 13th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. n = [-10, 10];
  2. t = (-300:1:300);
  3. Dn = (sin((n*pi)/2))./(n*pi);
  4. Dn = ((exp((j*pi*n)*(-1/2)))-(exp((j*pi*n)*(1/2)))).*(j./(2*pi*n));
  5. y = (Dn).*(exp((pi/100)*(j*t)));
  6. x = symsum(y,-10,10);
  7. plot (t, x);
Add Comment
Please, Sign In to add comment