Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. %Ein Multiplizierer hat fe=2000Hz, Ampl. = 1; FO=2200Hz, Ampl.=1;
  2. fa = 10000;
  3. t = 0:1/fa:1;
  4. fe=2000;
  5.  
  6. fo=2200;
  7.  
  8.  
  9. multi = sin(2*pi*fe .* t) .* sin(2*pi*fo .* t);
  10.  
  11. plot(multi);
  12. figure;
  13. y_fft = fft(multi);
  14.  
  15.  
  16. plot(20*log(abs(y_fft)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement