Advertisement
Pappu19

3

Sep 23rd, 2021
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.13 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement