You are on page 1of 1

Matlab code Am modulation!

t=0:0.001:1;
vd=8*cos(2*pi*5*t); /** change to song
vc=0.1*cos(2*pi*15*t); /** change to carrier
ft=vc.*vd;
am=ft+vc;
figure(1)
plot(t,vd);
figure(2)
plot(t,vc);
figure(3)
plot(t,am);

You might also like