Professional Documents
Culture Documents
2010200162
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);
-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)')
-2-
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
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
>>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-