Pappu19

1

Sep 23rd, 2021
745
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. f=2
  2. a=5
  3.  
  4. t=[0:0.01:1];
  5. y=a*sin(2*pi*t*f);
  6. plot(t,y);
  7. hold on;
  8.  
  9. t2=[0:0.125:1]
  10. y2=a*sin(2*pi*t2*f)
  11. stem(t2,y2)
  12.  
  13.  
RAW Paste Data