// PM --> Phase Modulation
Ac=10;
Am=1;
wm=2*%pi*25;
wc=2*%pi*400;
t=[1:0.0002:1.1];
m=Am*cos(wm*t);
c=Ac*cos(wc*t);
subplot(5,1,1);
mf=60;
Sam1=Ac*cos(wc.*t+(mf)*sin(wm.*t));
plot(t,Sam1,'red');
legend('m=60');
mf=80;
subplot(5,1,2);
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam ,'blue');
legend('m=80');
xlabel('Time');
ylabel('Amplitude');
subplot(5,1,3);
mf=90;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'black');
legend('m=90');
subplot(5,1,4);
mf=100;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'green');
legend('m=100');
subplot(5,1,5);
mf=150;
Sam=Ac*cos(wc.*t+mf*sin(wm.*t));
plot(t,Sam,'cyan');
legend('m=150');
// Output
|
PM --> Phase Modulation
|
No comments:
Post a Comment