Pappu19

3

Sep 23rd, 2021
652
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. T = 0:0.01:1;
  2. x = 2*pi*1*T
  3.  
  4. a = sin(x)
  5. b = sin(2*x)
  6.  
  7. figure(1)
  8. plot(a)
  9. figure(2)
  10. plot(b)
  11. sum = a+b
  12.  
  13. figure(3)
  14. plot(sum)
RAW Paste Data