EJERCICIOS DE CONVOLUCION EN MATLAB

PROCESAMIENTO DE SEÑALES MANUEL CHEPE CUEVA FREDDY JESUS TAREA 2 1. Programar en Matlab la convolución de las siguient

Views 83 Downloads 1 File size 502KB

Report DMCA / Copyright

DOWNLOAD FILE

Recommend stories

Citation preview

PROCESAMIENTO DE SEÑALES MANUEL

CHEPE CUEVA FREDDY JESUS

TAREA 2 1. Programar en Matlab la convolución de las siguientes señales, graficar además las señales de entrada así como la salida:

                     

clear all clc t1=-2:0.01:2; x=ustep(t1); plot(t1,x,'LineWidth',4) xlabel('variable t'); ylabel('x(t)'); axis([-2.5 2.5 -0.5 1.5]); grid on; figure t2=-4:0.01:4; h=2*ustep(t2-2); plot(t2,h,'LineWidth',4) xlabel('variable t'); ylabel('h(t)'); axis([-4.5 4.5 -0.5 2.5]); grid on; figure v=conv(x,h); plot(v,'LineWidth',4) title('convolucion'); grid on;

UNIVERSIDAD NACIONAL TECNOLOGICA LIMA SUR

PROCESAMIENTO DE SEÑALES MANUEL

CHEPE CUEVA FREDDY JESUS

2. Programar en Matlab la convolución de las siguientes señales, graficar además las señales de entrada así como la salida:

                   

clear all clc t1=-3:0.01:3; x=ustep(t1+2).*ustep(2-t1); plot(t1,x,'LineWidth',4); xlabel('variable t'); ylabel('x(t)'); axis([-3 3 -0.5 1.5]) grid on; figure t2=-1:0.01:4; h=uramp(t2).*ustep(3-t2).*ustep(t2); plot(t2,h,'LineWidth',4) xlabel('variable t'); ylabel('h(t)'); axis([-0.5 3.5 -0.5 3.5]) grid on; figure v=conv(x,h); plot(v,'LineWidth',4)

3. Programar en Matlab la convolución de las siguientes señales, graficar además las señales de entrada así como la salida:

UNIVERSIDAD NACIONAL TECNOLOGICA LIMA SUR

PROCESAMIENTO DE SEÑALES MANUEL

                   

CHEPE CUEVA FREDDY JESUS

clear all clc t1=-5:0.01:0; x=exp(t1).*ustep(-t1); plot(t1,x,'LineWidth',4); xlabel('variable t'); ylabel('x(t)'); axis([-4 0.5 -0.5 1.5]) grid on; figure t2=-1:0.01:3; h=[2*ustep(t2)]-ustep(t2-1)-ustep(t2-2); plot(t2,h,'LineWidth',4) xlabel('variable t'); ylabel('h(t)'); axis([-0.5 3.5 -0.5 2.5]) grid on; figure v=conv(x,h); plot(v,'LineWidth',4)

UNIVERSIDAD NACIONAL TECNOLOGICA LIMA SUR