Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- close all;
- fs = 100;
- t = -5:1/fs:5;
- n = t*Fs;
- g = @(t, sigma) 1./sqrt(2.*pi.*sigma.^2).*exp(-t.^2./(2.*sigma.^2));
- for s = sqrt(2)
- figure;
- title(strcat('s', s));
- subplot(2,1,1);
- plot(t, g(n, s));
- subplot(2,1,2);
- PlotModSpectrum(g(t,s), fs);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement