Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Facultad de Ingeniería
Carrera de Ingeniería Electrónica y Telecomunicaciones
Unidad III
1. Tema:
Modulación de Frecuencia
2. Objetivos
- Modelar las señales FM en el tiempo y frecuencia para observar sus espectros
3. Conocimientos Previos
- Señales en tiempo y frecuencia
4. Instrucciones
- Instalar el programa Matlab
- Realizar las instrucciones que se encuentran en el paso de procedimiento
5. Equipos y Materiales
Equipos Materiales
Matlab
6. Fundamento Teórico:
Revisión teórica de los espectros de las señales.
7. Procedimiento y Actividades
Dada la señal
% noise.
subplot(2,1,1)
plot(t,m(1:length(t)))
xlabel('Time')
title('The message signal')
subplot(2,1,2)
plot(t,dem(1:length(t)))
xlabel('Time')
title('The demodulated signal')
Función fftseq
function [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts)
%FFTSEQ generates M, the FFT of the sequence m.
% The sequence is zero padded to meet the required frequency
resolution df.
% ts is the sampling interval. The output df is the final
frequency resolution.
% Output m is the zero padded version of input m. M is the
FFT.
fs=1/ts;
if nargin == 2
n1=0;
else
n1=fs/df;
end
n2=length(m);
n=2^(max(nextpow2(n1),nextpow2(n2)));
M=fft(m,n);
m=[m,zeros(1,n-n2)];
df=fs/n;
end
función env_pahs
function [v,phi]=env_phas(x,ts,f0)
% [v,phi]=env_phas(x,ts,f0)
% v=env_phas(x,ts,f0)
%ENV_PHAS Returns the envelope and the phase of the bandpass
signal x.
% f0 is the center frequency.
% ts is the sampling interval.
%
if nargout == 2
z=loweq(x,ts,f0);
phi=angle(z);
end
v=abs(hilbert(x));
end
función loweq
function xl=loweq(x,ts,f0)
% xl=loweq(x,ts,f0)
%LOWEQ returns the lowpass equivalent of the signal x
% f0 is the center frequency.
% ts is the sampling interval.
%
Elaborado por: Deysi Inca Balseca
UNIVERSIDAD NACIONAL DE CHIMBORAZO
Facultad de Ingeniería
Carrera de Ingeniería Electrónica y Telecomunicaciones
t=[0:ts:ts*(length(x)-1)];
z=hilbert(x);
xl=z.*exp(-j*2*pi*f0*t);
end
8. Cálculos / Algoritmos
Realizar el proceso de la modulación dada las señales.
9. Resultados
Comparar las gráficas calculadas con as simuladas.