Matt23

Untitled

Oct 10th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. f = 1000;
  2. Fs = 16000;
  3. t = 0 : 1 / Fs : 0.005;
  4. y = 2 * sin(2 * pi * f * t);
  5. plot(t, y)
  6.  
  7. x = 1 : 1 : 10;
  8. x = linspace(1, 10, 100);
  9. c = ones(1, 10);
  10. z = zeros(1,10);
  11. y = [1 zeros(1, 39) 1];
  12. stem(y)
  13. axis([-0 42 -0.1 1.5])
  14.  
  15.  
  16. normrnd
Advertisement
Add Comment
Please, Sign In to add comment