Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. close all;
  2.  
  3. fs = 100;
  4. t = -5:1/fs:5;
  5. n = t*Fs;
  6. g = @(t, sigma) 1./sqrt(2.*pi.*sigma.^2).*exp(-t.^2./(2.*sigma.^2));
  7.  
  8. for s = sqrt(2)
  9. figure;
  10. title(strcat('s', s));
  11. subplot(2,1,1);
  12. plot(t, g(n, s));
  13. subplot(2,1,2);
  14. PlotModSpectrum(g(t,s), fs);
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement