Está en la página 1de 21

Practica Calificado N°2 (Laboratorio)

CURSO:

PROCESAMIENTO DIGITAL DE LA SEÑAL

PRACTICA CALIFICADO N° 2 (LABORATORIO) 2022-I

SECCIÓN:

09116

DOCENTE:

ING. ACOSTA SOLORZANO WILLIAMS

INTEGRANTES:

 SALAZAR ROJAS, LUCY


 ARZAPALO GÜERE, LIVIO U18307854
 INCIO SILVA, JOSE WILLY
 RAMOS LUCIANO, RONALD JAVIER
 REQUEJO CHÁVEZ, ELMER U17205673

Lima, Perú

Abril del 2022

Procesamiento Digital De La Señal Página 1 de 20


Practica Calificado N°2 (Laboratorio)

1.- Impulso continuo y discretos


a) Enuncie la propiedad de extracción de la delta de Dirác
1. Propiedad de Escalamiento
1
δ [a ( t−β ) ]=
¿ a∨¿ δ ( t−β ) ¿
2. Propiedad del producto
x (t ) δ (t−a)=x (a ) δ ¿ )

3. Propiedad del filtrado


α

∫ x (t ) δ (t−a) dt =x (a )
−α

b) Evalué las siguientes integrales usando propiedades de la delta de Dirac.

Para I.
2t

∫ δ(t−3) dt
−2 t
para t=3
6

∫ δ ( t−3 ) dt → si esta dentro de los limitesde integracion


−6
6

∫ ( 1 ) δ ( t−3 ) dt =1
−6
Para II.

∫ u( 2t −6)δ ( 3t −5) dt
−α
Por propiedad de escalamiento para el delta y escalon

α α

∫ u[ 12 ( t−12 ) ]δ[ 13 ( t −15 ) ]dt =( 2 ) ( 3 ) ∫ u ( t−12 ) δ ( t−15 ) dt=6


−α −α

Para III.

at +b


−α
(
f at−2−
t
3)( )
δ
t−5
2
dt

Por propiedad de escalamiento para el delta

)[ ]
at +b


−α
(
f at −2−
t
3
1 1
δ ( t−5 ) dt= 6 a−
2 2
11
3( )
para → at +b>5

¿ 0 para →at +b< 5


Procesamiento Digital De La Señal Página 2 de 20
Practica Calificado N°2 (Laboratorio)

2.- Para cada una de las siguientes señales, determine si es periódica o aperiódica. En el primer caso,
especifique su periodo fundamental. Luego grafique las señales en MATLAB utilizando un rango de
valores adecuados para que se note el tipo de señal que es. Para las señales complejas puede graficar
parte real e imaginaria, o modulo y fase, o si acepta el desafío puede probar con un gráfico 3D (usando
plot3).

SOLUCIÓN

a) h(t+1)

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-5:0.001:8];
x=tri1(t+1);

Procesamiento Digital De La Señal Página 3 de 20


Practica Calificado N°2 (Laboratorio)

plot(t,x,'r'), grid on

 Gráfica
2

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

0
-6 -4 -2 0 2 4 6 8

b) h(2t-3)

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-5:0.001:8];
x=tri1(2*t-3);
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 4 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

0
-6 -4 -2 0 2 4 6 8

c) 2h(-1/2(t+10))

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-5:0.001:8];
x=2*tri1((0.5).*(t+10));
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 5 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

3.5

2.5

1.5

0.5

0
-15 -10 -5 0 5 10 15

d) h(t/2) [u(t+2)-u(t-2)]

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);
------------------------------------------------------------------------------------
 Edit.

function u=escalon(t)
u=1*(t>=0);
----------------------------------------------------------------------
 Command window

t=[-5:0.001:8];
x=tri1(t/2).*(escalon(t+2)-escalon(t-2));
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 6 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

0
-15 -10 -5 0 5 10 15

e) h( t)2

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-8:0.001:8];
x=tri1(t.^2);
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 7 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

0
-8 -6 -4 -2 0 2 4 6 8

1
f) h( )
t

 Edit.

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-8:0.001:8];
x=tri1(1./t);
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 8 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

0
-8 -6 -4 -2 0 2 4 6 8

g) x[n-1]

 Edit.

function x= delta(n)
x=1*(n==0)+1*(n==1)+1*(n==2)+1*(n==3)+1*(n==4);

 Command window

n=[-4:1:10];
x=delta(n-1);
stem(n,x,'b'), grid on

Procesamiento Digital De La Señal Página 9 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0
-4 -2 0 2 4 6 8 10

h) x[2n]

 Edit.

function x= delta(n)
x=1*(n==0)+1*(n==1)+1*(n==2)+1*(n==3)+1*(n==4);

 Command window

n=[-4:1:10];
x=delta(2*n);
stem(n,x,'b'), grid on

Procesamiento Digital De La Señal Página 10 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0
-4 -2 0 2 4 6 8 10

i) x [n¿¿ 2]¿

 Edit.

function x= delta(n)
x=1*(n==0)+1*(n==1)+1*(n==2)+1*(n==3)+1*(n==4);

 Command window

n=[-4:1:10];
x=delta(n.^2);
stem(n,x,'b'), grid on

Procesamiento Digital De La Señal Página 11 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0
-4 -2 0 2 4 6 8 10

1
j) {[ x ] + (−1 )n x [ n ] }
2

 Edit.

function x= delta(n)
x=1*(n==0)+1*(n==1)+1*(n==2)+1*(n==3)+1*(n==4);

 Command window

n=[-4:1:10];
x=0.5*(delta(n)+((-1).^n).* delta(n));
stem(n,x,'b'), grid on

Procesamiento Digital De La Señal Página 12 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0
-4 -2 0 2 4 6 8 10

k) Impar{h(t)}

function x=tri1(t)
x=(1+t).*(t>=-1 & t<1)+(-t+3).*(t>=1 & t<=3);

 Command window

t=[-8:0.001:8];
x=(tri1(t)-tri1(-t))/2;
plot(t,x,'r'), grid on

Procesamiento Digital De La Señal Página 13 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.8

0.6

0.4

0.2

-0.2

-0.4

-0.6

-0.8

-1
-8 -6 -4 -2 0 2 4 6 8

l) Par{x[n]}

 Edit.

function x= delta(n)
x=1*(n==0)+1*(n==1)+1*(n==2)+1*(n==3)+1*(n==4);

 Command window

n=[-4:1:10];
x=(delta(n)+delta(-n))/2;
stem(n,x,'b'), grid on

Procesamiento Digital De La Señal Página 14 de 20


Practica Calificado N°2 (Laboratorio)

 Gráfica

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0
-6 -4 -2 0 2 4 6 8 10

Procesamiento Digital De La Señal Página 15 de 20


Practica Calificado N°2 (Laboratorio)

5.- ENERGIA Y POTENCIA

Procesamiento Digital De La Señal Página 16 de 20


Practica Calificado N°2 (Laboratorio)

OJO CON ESTE EJERCICIO PUEDE VENIR EN TU EXAMEN FINAL ,


TRATA DE RESOLVERLO BIEN.

Procesamiento Digital De La Señal Página 17 de 20


Practica Calificado N°2 (Laboratorio)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

JUGAREMOS UN POCO CON LAS SEÑALES

PRIMER METODO

Voz de un hombre

x=wavread('holas'); %archivo de audio


figure(1)
plot(x) %grafica en el dominio del tiempo
grid on
Y=fft(x); %transformada de fourier
A=Y.*conj(Y); %potencia de la señal
f=(100:4000); %espectro de frecuencia
figure(2)
plot(f,A(1:3901)) %grafica en el dominio de la frecuencia
grid on

Procesamiento Digital De La Señal Página 18 de 20


Practica Calificado N°2 (Laboratorio)

SEGUNDO METODO

[A,Fs,bits] = wavread('holas');
siz = wavread('holas','size');
t = 0:1:siz-1;
figure(1)
plot(t,A)
grid on
S=fft(A,1024);
f=(0:511)/512*(Fs/2);
Y=abs(S(1:512));
figure(2)
plot(f,Y)
grid on
B=find(Y==max(Y))
frec=f(B)
str=num2str(frec)
h=legend('frecmax=',str,1');

Procesamiento Digital De La Señal Página 19 de 20


Practica Calificado N°2 (Laboratorio)

Voz de una mujer

x=wavread('mholas'); %archivo de audio


figure(1)
plot(x) %grafica en el dominio del tiempo
grid on
Y=fft(x); %transformada de fourier
A=Y.*conj(Y); %potencia de la señal
f=(100:4000); %espectro de frecuencia
figure(2)
plot(f,A(1:3901)) %grafica en el dominio de la frecuencia
grid on

Procesamiento Digital De La Señal Página 20 de 20


Practica Calificado N°2 (Laboratorio)

Procesamiento Digital De La Señal Página 21 de 20

También podría gustarte