arpit01

matlab adition multlti division

Nov 28th, 2018
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. clc
  2. clear all
  3. close all
  4. t=0:0.1:2*pi
  5. x=sin(t)
  6. subplot(2,3,1)
  7. plot(t,x,'g')
  8. y=cos(t)
  9. subplot(2,3,2)
  10. plot(t,y,'black')
  11. y1=x+y
  12. subplot(2,3,3)
  13. plot(t,y1)
  14. y3=x.*y
  15. subplot(2,3,4)
  16. plot(t,y3)
  17. y4=x./y
  18. subplot(2,3,5)
  19. plot(t,y4)
Add Comment
Please, Sign In to add comment