Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc;
- clear all;
- Ac=1;
- fm=5;
- fc=50;
- t=linspace(0,1,500);
- df=fm-fc;
- ym=cos(2*pi*fm*t);
- subplot(3,1,1);
- plot(t,ym);
- yc=cos(2*pi*fc*t);
- subplot(3,1,2);
- plot(t,yc);
- s=Ac*cos((2*pi*fc*t)+(df/fm)*sin(2*pi*fm*t));
- subplot(3,1,3);
- plot(t,s);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement