ANALISIS DE SEÑALES CON MAT LAB
-
Upload
marcos-cavalierr-jara -
Category
Documents
-
view
237 -
download
6
description
Transcript of ANALISIS DE SEÑALES CON MAT LAB
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
- 0 -
CONVOLUCION de senales con
matlab
CAVALIER JARA MARCOS FIDEL
ROCA GALINDO LUIS RODOLFO
ANÁLISIS DE SEÑALES
2010200162
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
- 1 -
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');
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
- 2 -
>>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)')
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
- 3 -
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)')
ANÁLISIS DE SEÑALES – MARCOS CAVALIER JARA
- 4 -
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)')