Professional Documents
Culture Documents
PRACTICA # 1
ASIGNATURA: PRACTICAS DE COMUNICACIONES DIGITALES
RESULTADO DE APRENDIZAJE DE LA PRÁCTICA: (VER SÍLABO)
TIEMPO PLANIFICADO EN EL SILABO: HORAS
TIEMPO DE LA PRÁCTICA POR GRUPO: 1 hora
NUMERO DE ESTUDIANTES POR GRUPO: 2 ESTUDIANTES
3. MATERIALES Y REACTIVOS
VOS – Por Grupo 4. EQUIPOS Y HERRAMIENTAS – Por
Grupo
Ordenador
Software Matlab
Simulink
5. INSTRUCCIONES:
Parte 1
fs=1000;
L_medio=500;
fs=1000;
treq=2*L_medio/fs;
f=((2*L_medio-1)/treq);
1)/treq);
n=0:.5/f:treq;
Am=10;
wm=4*pi;
fc=fs/2;
ym=Am*cos(wm*n);
Fig. 1
ymdc=ym+max(abs(ym));
pulsos=(square(2*pi*30*n,25)+1)/2;
Fig. 2
figure
subplot(2,2,1);
h=plot(n,ym, 'r-');
title('Señal a Modular');
xlabel('Tiempo (segundos)');
ylabel('m(t)');
grid on;
subplot(2,2,2);
i=plot(n,pulsos, 'b-');
title('Tren de Pulsos o Cuantificador');
xlabel('Tiempo (segundos)');
ylabel('g(t)');
grid on;
l) Para que nuestra señal de salida, sea igual a la original le agregamos o la desplazamos
10 V, tal como se muestra en la siguiente línea de código.
ym1=10+Am*cos(wm*n);
spam=ymdc.*pulsos;
subplot(2,2,3:4)
ym1=10+Am*cos(wm*n);
spam=ymdc.*pulsos;
g=plot(n,spam, 'b-',n,ym1,
',n,ym1, 'g-'
'g );
title('Señal Modulada Empleando Modulación PAM');
xlabel('Tiempo (segundos)');
ylabel('s(t)');
txt=strcat('fmuestreo= ',num2str(fs),' Hz');
legend(txt);
grid on;
set(h,'LineWidth',2)
set(i,'LineWidth',1.5)
set(g,'LineWidth',1.5)
Fig. 3
o) Para poder observar de una mejor manera las gráficas las procedemos a unir en una
sola imagen como se muestra a continuación
Fig. 4
Parte 2
Fig. 5
Fig. 6
x) Procedemos a implementar los diagramas de bloques que se muestran
Manual del Edificio de Laboratorios Técnicos 25
UNIVERSIDAD NACIONAL DE LOJA
AREA DE LA ENERGIA, LAS INDUSTRIAS Y LOS RECURSOS NATURALES NO RENOVABLES
Fig. 7
y) Obtenemos la señal PAM y la señal Recuperada
Fig. 8
z) Ahora la señal de información y la PAM
Fig. 9
BIBLIOGRAFÍA: