Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. N=1024;
  2. gauss=randn(N,1);
  3. fgauss=filtr(b,a,gauss);
  4. subplot(2,1,1);
  5. plot(fgauss);
  6. subplot(2,1,2);
  7. fftg=abs(fft(fgauss));
  8. wf=(1:1024)/512;
  9. plot(wf,20*log10(fftg));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement