You are on page 1of 1

EXPERIMENT-1

AMPLITUDE MODULATION & DEMODULATION


clc;
fc=40000;
fm=1000;
fs=1000000;
m=0.5;
ac=1/m;
opt=-1/m;
t=0:1/fs:(2/fm-1/fs);
x=cos(2*pi*fm*t);
y=modulate(x,fc,fs,'amdsb-tc',opt);

subplot(411);
plot(x);
title('message-signal');
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(412);plot(y);
title('under-modulation');
m=1;opt=-1/m;
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(413);plot(y);
title('critical-modulation');
m=1.5;opt=-1/m;
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(414);plot(y);
title('over-modulation');

You might also like