Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Fundada en 1551
FACULTAD DE INGENIERIA ELECTRONICA
“INFORME FINAL DE
TRANSFORMADA DE FOURIER
DE SEÑALES APERIODICAS”
INTEGRANTE
PROFESOR
Ing. Wilbert Chávez Irazábal
CURSO
Laboratorio de Señales y Sistemas
Lima - Perú
2018
Facultad de Ingeniería Electrónica – UNMSM Laboratorio de Señales y Sistemas
clc, clear
t=-4:0.001:4;
x=2*sinc(2*t);
X = linspace(-2,2,20)';
Y1 = 2*sinc(2*X);
stem(X,Y1)
grid on;
title("Sinc y su espectro");
xlabel("Tiempo (seg)");
ylabel("Amplitud")
Visualización en MATLAB:
clc, clear
t=-4:0.001:4;
x=2*sinc(2*t);
X = linspace(-2,2,20)';
Y1 = 2*sinc(2*X);
plot(x);
title("Señal sinc ");
xlabel("Tiempo (seg)");
ylabel("Amplitud ")
grid on;
subplot(2,1,2);
stem(X,Y1)
grid on;
title("Espectro de la Señal sinc");
xlabel("Tiempo (seg)");
ylabel("Amplitud ")
Visualización en MATLAB:
clc, clear
t=-4:0.001:4;
x2=2*(sinc(2*t).^2);
X = linspace(-2,2,20)';
Y2 = 2*(sinc(2*X).^2);
subplot(2,1,1);
plot(x2);
title("Cuadrado de sinc ");
xlabel("Tiempo (seg)");
ylabel("Amplitud ")
grid on;
subplot(2,1,2);
stem(X,Y2);
grid on;
title("Cuadrado de sinc Espectro");
xlabel("Tiempo (seg)");
ylabel("Amplitud ")
Visualización en MATLAB:
clc, clear
t1=0:0.001:5;
T1=0.5;
f1=1/T1;
A1=1;
c1=A1*cos(2*pi*f1*t1);
figure;
subplot(2,1,1);
plot(t1,c1);
grid on;
title("Señal Coseno C1 de Frecuancia 2Hz");
xlabel("Tiempo 1 (seg)");
ylabel("Amplitud 1")
X = linspace(0,2,10);
Y1 = A1*cos(2*pi*f1*X);
subplot(2,1,2);
stem(X,Y1)
Visualización en MATLAB:
clc, clear
t2=0:0.001:5;
T2=5;
f2=1/T2;
A2=1.5;
c2=A2*cos(2*pi*f2*t2);
figure;
subplot(2,1,1);
plot(t2,c2);
grid on;
title("Señal Coseno C2 de Periodo 5s");
xlabel("Tiempo 2 (seg)");
ylabel("Amplitud 2")
X = linspace(0,2,10);
Y2 = A2*cos(2*pi*f2*X);
subplot(2,1,2);
stem(X,Y2)
Visualización en MATLAB:
clc, clear
t1=0:0.001:5;
T1=0.5;
f1=1/T1;
A1=1;
c1=A1*cos(2*pi*f1*t1);
t2=0:0.001:5;
T2=5;
f2=1/T2;
A2=1.5;
c2=A2*cos(2*pi*f2*t2);
M=conv(c1,c2, 'same');
plot(M);
title('Producto de los Cosenos');
xlabel('Tiempo (s)');
ylabel('Amplitud ')
Visualización en MATLAB:
clc, clear
Fs = 50;
t = 0:1/Fs:1;
f1 = 2;
c1=A1*cos(2*pi*f1*t);
nfft=1024;
Y=fft(c1,nfft);
Y = Y(1:nfft/2);
my = abs(Y).^2;
f = (0:nfft/2-1)*Fs/nfft;
figure;
subplot(2,1,1);
plot(t,c1);
title('Señal coseno C1');
xlabel('Tiempo (s)');
ylabel('Amplitud ')
subplot(2,1,2);
plot(f,my);
title('Transformada de Fourier de C1');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
clc, clear
Fs = 5;
t = 0:1/Fs:5;
f2 =0.2 ;
c2=A2*cos(2*pi*f2*t);
nfft=1024;
Y=fft(c2,nfft);
Y = Y(1:nfft/2);
my = abs(Y).^2;
f = (0:nfft/2-1)*Fs/nfft;
figure;
subplot(2,1,1);
plot(t,c2);
title('Señal coseno C2');
xlabel('Tiempo (s)');
ylabel('Amplitud ')
subplot(2,1,2);
plot(f,my);
title('Transformada de Fourier de C2');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
clc, clear
Fs = 5;
t = 0:1/Fs:1;
f2 =0.2 ;
M=conv(c1,c2, 'same');
nfft=1024;
Y=fft(M,nfft);
Y = Y(1:nfft/2);
my = abs(Y).^2;
f = (0:nfft/2-1)*Fs/nfft;
figure;
plot(f,my);
title('Transformada de Fourier de producto de
cosenos');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
Visualización en MATLAB:
clc, clear
tr=-5:0.01:5;
x=rectpuls(tr,4);
subplot(3,1,1);
plot(x,'r');
title("Pulso de anchura 4");
xlabel("Tiempo 1 (seg)");
ylabel("Amplitud 1")
t1=0:0.001:5;
T1=0.5;
f1=1/T1;
A1=1;
c1=A1*cos(2*pi*f1*t1);
subplot(3,1,2);
plot(t1,c1);
grid on;
title("Señal Coseno C1 de Frecuancia 2Hz");
xlabel("Tiempo 1 (seg)");
ylabel("Amplitud 1")
M=conv(x,c1, 'same');
subplot(3,1,3);
plot(M,'g');
title("Producto de ambas señales");
xlabel("Tiempo 1 (seg)");
ylabel("Amplitud 1")
fs = 50;
ts=1/fs;
n=500;
t=0:ts:(n)*ts;
t=0:ts:(n-1)*ts;
x2=rectpuls(t,4);
subplot(3,1,1);
plot(x2,'r');
T1=0.5;
f1=1/T1;
A1=1;
c11=A1*cos(2*pi*f1*t);
M=conv(x2,c11, 'same');
figure;
plot(t,M);
fn=0:fs/n:fs;
fn=0:fs/n:fs-fs/n;
plot(fn,abs(fft(M)));
title('Transformada de Fourier de producto de coseno
y pulso rectangular');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
clc, clear
tr=-5:0.01:5;
x=rectpuls(tr,3);
subplot(2,1,1);
plot(x,'r');
title("Pulso de anchura 3");
xlabel("Tiempo 1 (seg)");
ylabel("Amplitud 1")
fs = 20;
ts=1/fs;
n=1000;
t=0:ts:(n)*ts;
t=0:ts:(n-1)*ts;
x1=rectpuls(t,3);
subplot(2,1,2);
plot(t,x1);
fn=0:fs/n:fs;
fn=0:fs/n:fs-fs/n;
plot(fn,abs(fft(x1)));
title('Transformada de Fourier del pulso
rectangular');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
xlabel('Frecuencia (Hz)');
ylabel('Potencia');
Conclusiones y Recomendaciones: