Monday, November 22, 2010
0
matlab program for amplitude modulation
PROGRAM
% amplitude modulated wave
n=0:100;
m=0.3;fm=0.01;fc=0.1;
xm=sin(2*pi*fm*n);
xc=sin(2*pi*fc*n);
y=(1+m*xm).*xc;
stem(n,y);
grid;
xlabel('time index n');
ylabel('amplitude');
% amplitude modulated wave
n=0:100;
m=0.3;fm=0.01;fc=0.1;
xm=sin(2*pi*fm*n);
xc=sin(2*pi*fc*n);
y=(1+m*xm).*xc;
stem(n,y);
grid;
xlabel('time index n');
ylabel('amplitude');
OUTPUT
This post was written by: noufel n backer
Subscribe to:
Post Comments (Atom)
0 Responses to “matlab program for amplitude modulation”
Post a Comment