You are on page 1of 5

ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA

CONVOLUCION de senales con


matlab

CAVALIER JARA MARCOS FIDEL

2010200162

ROCA GALINDO LUIS RODOLFO

ANÁLISIS DE SEÑALES

-0-
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA

TAREA:
1. Hallar la convolución: y(t)= x(t)*h(t)
𝒕, 𝟎 < 𝒕 < 𝟑 𝟏, − 𝟏 < 𝒕 < 𝟏
Si: 𝒉(𝒕) = { 𝒙(𝒕) = {
𝟎, 𝒐𝒕𝒓𝒐 𝒗𝒂𝒍𝒐𝒓 𝟎, 𝒐𝒕𝒓𝒐 𝒗𝒂𝒍𝒐𝒓

>>t=0:0.001:1;
>>x=uramp(t).*ustep(1-t);
>>plot(t,x,'LineWidth',3,'color','g');
>>axis([-1 2 0 1.5]);
>>grid on;
>>figure
>>t=0:0.001:6;
>>f=ustep(t-2).*ustep(4-t);
>>plot(t,f,'LineWidth',4,'color','r');
>>grid on;
>>figure
>>v=conv(x,f);
>>plot(v);

2. Hallar la convolución: y(t) = x(t) * h(t)


Si: 𝒙(𝒕) = 𝒓(𝒕). 𝒖(𝒕 − 𝟏) 𝒚 𝒉(𝒕) = 𝒖(𝒕 − 𝟐). 𝒖(𝟒 − 𝒕)
>>t = 0:0.001:1;
>>xt = uramp(t).*ustep(1-t);
>>plot(t,xt,'LineWidth',3,'Color','r');
>>title('Funcion Rampa');
>>axis([0 4 0 3]);
>>subplot(1,3,2)
>>hold on;
>>t = 2:0.001:4;
>>ht = ustep(t-2).*ustep(4-t);
>>plot(t,ht);
>>title('Funcion Escalon Unitario');

-1-
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA

>>axis([0 4 0 3]);
>>subplot(1,3,3)
>>v = conv(xt,ht);
>>plot(v)
>>title('x(t) * h(t)')

3. Hallar la convolución: y(t)= x(t)*h(t)


Si: 𝒙(𝒕) = 𝒆−|𝒕| . 𝒖(𝒕 + 𝟐). 𝒖(𝟐 − 𝒕) 𝒚 𝒉(𝒕) = 𝒖(𝒕 − 𝟏). 𝒖(𝟐 − 𝒕)
>>subplot(1,3,1)
>>t = -2:0.001:2;
>>xt = exp(-abs(t)).*ustep(t+2).*ustep(2-t);
>>plot(t,xt,'LineWidth',3,'Color','r');
>>title('Funcion exponencial de -2 a 2');
>>axis([-2 2 0 2]);
>>subplot(1,3,2)
>>hold on;
>>t = 1:0.001:2;
>>ht = ustep(t-1).*ustep(2-t);
>>plot(t,ht);
>>title('Funcion Escalon Unitario');
>>axis([-2 2 0 2]);
>>subplot(1,3,3)
>>v = conv(xt,ht);
>>plot(v)
>>title('x(t) * h(t)')

-2-
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA

4. Hallar la convolución: y(t) = x(t)*h(t)


Si: 𝒆−𝒕 . 𝒖(𝒕). 𝒖(𝟐 − 𝒕) 𝒚 𝒉(𝒕) = 𝜹(𝒕)

subplot(1,3,1)
t = -1:0.001:2;
xt = exp(-t).*ustep(t).*ustep(2-t);
plot(t,xt,'LineWidth',3,'Color','r');
title('Funcion exponencial de 0 a 2');
axis([-1 2 0 2]);
subplot(1,3,2)
hold on;
t = -1:0.001:2;
ht = udelta(t);
plot(t,ht);
title('Funcion Escalon Unitario');
axis([-1 2 0 2]);
subplot(1,3,3)
v = conv(ht,xt);
plot(v)
title('x(t) * h(t)')

-3-
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA

5. Hallar la convolución y(t) = x(t)*h(t)


Si 𝒙(𝒕) = 𝒖(𝒕) − 𝒖(𝟏 − 𝒕) 𝒚 𝒉(𝒕) = 𝒖(𝒕). 𝒖(𝟏 − 𝒕)

>>subplot(1,3,1)
>>t = -1:0.001:2;
>>xt = ustep(t).*ustep(1-t);
>>plot(t,xt,'LineWidth',3,'Color','r');
>>title('Función Escalón Unitario');
>>axis([-1 2 0 2]);
>>subplot(1,3,2)
>>hold on;
>>t = -1:0.001:2;
>>ht = ustep(t).*ustep(1-t);
>>plot(t,ht);
>>title('Función Escalón Unitario');
>>axis([-1 2 0 2]);
>>subplot(1,3,3)
>>hold on;
>>v = conv(xt,ht);
>>plot(v)
>>title('x(t) * h(t)')

-4-

You might also like