Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t=0:0.02:8;
- f=20;
- a=1;
- y=sawtooth(2*pi*0.5*t);
- subplot(3,1,1);
- plot(t,y);
- hold on;
- y2=a*sin(2*pi*f*t);
- subplot(3,1,2);
- plot(t,y2);
- hold on;
- y3=y+y2;
- subplot(3,1,3);
- plot(t,y3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement