Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t=linspace(0,2*pi,1000)
- y=sin(t)
- subplot(2,2,1)
- plot(t,y)
- t=linspace(0,2*pi,1000)
- y2=sin(t-pi/4)
- subplot(2,2,2)
- plot(t,y2)
- t=linspace(0,2*pi,1000)
- y3=sin(2*t-pi/4)
- subplot(2,2,3)
- plot(t,y3)
- t=linspace(0,2*pi,1000)
- y4=sin(-2*t-pi/4)
- subplot(2,2,4)
- plot(-t,y4)
Add Comment
Please, Sign In to add comment