Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc;
- t=linspace(0,1,500);
- fm=5;
- %A=2;
- y1=sin(2*pi*fm*t);
- subplot(3,1,1);
- plot(t,y1);
- %t1=linspace(0,1,100);
- fc=50;
- %A=2;
- y2=sin(2*pi*fc*t);
- subplot(3,1,2);
- plot(t,y2);
- %plot(y2,y1);
- %subplot(2,2,4);
- z=y2+(y1.*y2);
- subplot(3,1,3);
- plot(t,z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement