You are on page 1of 11

LABORATORIO N 02 P.D.S.

INTRODUCCIN

En el presente informe desarrollaremos las actividades previstas a


realizar en el laboratorio N02 de procesamiento digital de seales,
presentando diversas seales a operar desde un anlisis matemtico
y luego mediante el software MATLAB, tambin tendremos graficas
referentes a las seales. Manipularemos las seales para luego
obtener graficas requeridas. Tambin realizaremos la convolucion
discreta y continua de una seal.

UNIVERSIDAD TECNOLGICA DEL PER Pgina 1


LABORATORIO N 02 P.D.S.

LABORATORIO N02

1.-

>>t=-2:0.001:8;

>>x1=x(t); figure(1); plot(t,x1)

2.5

1.5

0.5

-0.5
-2 -1 0 1 2 3 4 5 6 7 8

UNIVERSIDAD TECNOLGICA DEL PER Pgina 2


LABORATORIO N 02 P.D.S.

>>y1=y(t); figure(2); plot(t,y1)

3.5

2.5

1.5

0.5

-0.5
-2 -1 0 1 2 3 4 5 6 7 8

>>x2=0.6*x(t)+0.2*x(t-2.5);figure(3);plot(t,x2)

2.5

1.5

0.5

-0.5
-2 -1 0 1 2 3 4 5 6 7 8

UNIVERSIDAD TECNOLGICA DEL PER Pgina 3


LABORATORIO N 02 P.D.S.

>>y2=0.6*y(t)+0.2*y(t-2.5);figure(4);plot(t,y2)

2.5

1.5

0.5

-0.5
-2 -1 0 1 2 3 4 5 6 7 8

>>x3=0.6*x(t)-0.6*x(t-3);figure(5);plot(t,x3)

1.5

0.5

-0.5
-2 -1 0 1 2 3 4 5 6 7 8

UNIVERSIDAD TECNOLGICA DEL PER Pgina 4


LABORATORIO N 02 P.D.S.

>>y3=0.6*y(t)-0.6*y(t-3);figure(6);plot(t,y3)

1.8

1.6

1.4

1.2

0.8

0.6

0.4

0.2

-0.2
-2 -1 0 1 2 3 4 5 6 7 8

2.-A convolucionar se ha dicho

UNIVERSIDAD TECNOLGICA DEL PER Pgina 5


LABORATORIO N 02 P.D.S.

a.
I.
>>t=-5:0.0001:5;
>>h=(t+1).*(t==0); %dirac(t)
>>figure(1),plot(t,h)
>>figure(2),plot(t,sinc(t))
>>c=conv(sinc(t),h);
>>t1=-10:0.0001:10;
>>figure(3),plot(t1,c)

1.5 1.2

1 0.8

0.6

0.5 0.4

0.2

0 0

-0.2

-0.5 -0.4
-5 -4 -3 -2 -1 0 1 2 3 4 5 -5 -4 -3 -2 -1 0 1 2 3 4 5

1.2

0.8

0.6

0.4

0.2

-0.2

-0.4
-5 -4 -3 -2 -1 0 1 2 3 4 5

UNIVERSIDAD TECNOLGICA DEL PER Pgina 6


LABORATORIO N 02 P.D.S.

II.
>> t=-5:0.0001:5;
>> x=(t+1).*(t>=-1 & t<=0) + (-t+1).*(t>0 & t<=1);
>> figure(1),plot(t,x)
>> h=(t+2).*(t==0) + (t+2).*(t==-1) + (t).*(t==1);
>> figure(2),plot(t,h)
>> c=conv(x,h);
>> t1=-10:0.0001:10;
>> figure(3),plot(t1,c)

1.5 2.5

1.5

0.5 1

0.5

-0.5 -0.5
-5 -4 -3 -2 -1 0 1 2 3 4 5 -5 -4 -3 -2 -1 0 1 2 3 4 5

2.5

1.5

0.5

-0.5
-5 -4 -3 -2 -1 0 1 2 3 4 5

UNIVERSIDAD TECNOLGICA DEL PER Pgina 7


LABORATORIO N 02 P.D.S.

III.
>> a=1;
>>t=-1:0.0001:10;
>>x=exp(-a*t).*(1*(t>=0));
>>figure(1),plot(t,x)
>> b=3;
>>h=exp(-b*t).*(1*(t>=0));
>>figure(2),plot(t,h)
>> c=conv(x,h);
>> t=-2:0.0001:20;
>> figure(3),plot(t,c)

1 1

0.8 0.8

0.6 0.6

0.4 0.4

0.2 0.2

0 0

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

2000

1800

1600

1400

1200

1000

800

600

400

200

-2 0 2 4 6 8 10 12 14 16 18 20

UNIVERSIDAD TECNOLGICA DEL PER Pgina 8


LABORATORIO N 02 P.D.S.

3.- Hallar TF y Graficar

4.- CALCULAR LA TF

UNIVERSIDAD TECNOLGICA DEL PER Pgina 9


LABORATORIO N 02 P.D.S.

CONCLUSIONES

Concluimos que podemos trabajar con las seales aplicndoles


procesos para poder manejarlas a como las deseemos.

Tambin concluimos que una seal se puede analizar tanto en el


dominio del tiempo como de la frecuencia

Podemos realizar modificaciones directamente con la convolucion


discreta y continua de una seal.

UNIVERSIDAD TECNOLGICA DEL PER Pgina 10


LABORATORIO N 02 P.D.S.

ANEXOS

UNIVERSIDAD TECNOLGICA DEL PER Pgina 11

You might also like