Está en la página 1de 5

# COMUNICACIONES I

##  ALUMNO: Luis Alonso Argueta Martínez

 CUENTA: 20131900466

Problema #1
%Ejercicio #1
%Para m=0
Vc=10;
Vm=0;
Wm=1;
Wc=2;
t=linspace(-2*pi,2*pi,1000);
x=(Vc+Vm*cos(Wm*t)).*(cos(Wc*t));
figure(1)
plot(t,x)
grid on
title "Am"
%PARA M=2
Vc=10;
Vm2=20;
Wm=1;
Wc=2;
t2=linspace(-2*pi,2*pi,1000);
x2=(Vc+Vm2*cos(Wm*t)).*(cos(Wc*t));
figure(2)
plot(t2,x2)
grid on
title "Am"
%PARA 0.4
Vc=10;
Vm3=4;
Wm=1;
Wc=2;
t3=linspace(-2*pi,2*pi,1000);
x3=(Vc+Vm3*cos(Wm*t)).*(cos(Wc*t));
figure(3)
plot(t3,x3)
grid on
title "Am"
Problema #2
%PROBLEMA 2
Vc = 10;
wc = 7*pi;
wm = 1*pi;
t=linspace(-3*pi,3*pi,1000);
J0= 0.30;
J1=-0.01;
J2=-0.30;
J3=-0.17;
J4=0.16;
J5=0.35;
J6=0.34;
J7=0.23;
J8=0.13;
J9=0.06;
J10=0.02;
vfm1 =Vc*(J0*cos(wc*t)+J1*(cos((wc+wm)*t)-cos((wc-wm)*t)));
figure(1)
plot(t,vfm1)
vfm2=vfm1+Vc*(J2*(cos((wc+2*wm)*t)+cos((wc-2*wm)*t)));
figure(2)
plot(t,vfm2)

vfm3=vfm2+Vc*(J3*(cos((wc+3*wm)*t)-cos((wc-3*wm)*t)));
vfm4=vfm3+Vc*(J4*(cos((wc+4*wm)*t)+cos((wc-4*wm)*t)));
vfm5=vfm4+Vc*(J5*(cos((wc+5*wm)*t)-cos((wc-5*wm)*t)));
vfm6=vfm5+Vc*(J6*(cos((wc+6*wm)*t)+cos((wc-6*wm)*t)));
vfm7=vfm6+Vc*(J7*(cos((wc+7*wm)*t)-cos((wc-7*wm)*t)));
vfm8=vfm7+Vc*(J8*(cos((wc+8*wm)*t)+cos((wc-8*wm)*t)));
vfm9=vfm8+Vc*(J9*(cos((wc+9*wm)*t)-cos((wc-9*wm)*t)));
vfm10=vfm9+Vc*(J10*(cos((wc+10*wm)*t)+cos((wc-10*wm)*t)));
figure(10)
plot(t,vfm10)