Anda di halaman 1dari 6

ANALISIS DE SEALES

PROPIEDADES DE LA CONVOLUCION Y LOS SISTEMAS LTI


UNIVERSIDAD DE LA SALLE, BOGOT-COLOMBIA Franklin Andrs Rodrguez Castao1 Hoosman Andres Monroy2 Andres Ivan Cruz Estacio3
ABSTRACT:
Convolution helps us determine the effect of the system on the input signal. It can be seen that the linear time-invariant system is completely characterized by its impulse response. At first glance, this may seem of little use, since the impulse functions are not well defined in real applications. However the momentum shift property tells us that a signal can be decomposed into an infinite sum (integral) of scaled and shifted impulses.

grid title('impulso') xlabel('[n]') ylabel('y[n]')

end
impulso 1 0.9 0.8

INTRODUCCIN Conociendo como un sistema afecta un impulso simple, y entendiendo la manera en que una seal es abarcada por impulsos escaldos y sumados, suena razonable que sea posible escalar y sumar la respuesta al impulso a un sistema en para poder determinar que seal de salida resultara de una entrada en particular. Esto es precisamente lo que la Convolucion hace la Convolucion determina la salida del sistema por medio conocimiento de la entrada y la respuesta al impulso del sistema.

0.7 0.6

y[n]

0.5 0.4 0.3 0.2 0.1 0 -8

-6

-4

-2

I. DESARROLLO function [ x ] = funcionimpulso(n ) %FUNCIONIMPULSO Summary of this function goes here % Detailed explanation goes here x=zeros(length(n),1) for i=1:length(n) if(n(i)==0) x(i)=1 end end clc clear all close all n=-8:8 i=funcionimpulso(n); stem(n,i)

0 [n]

function [ X ] = entradaxn(n) %ENTRADAXN Summary of this function goes here % Detailed explanation goes here X=funcionimpulso(n+1)+funcionimpulso(n)+f uncionimpulso(n-1)+funcionimpulso(n2)+funcionimpulso(n3)+0.5*funcionimpulso(n-4) end clc clear all close all n=-8:8 i=entradaxn(n); stem(n,i) grid title('entrada')

ANALISIS DE SEALES xlabel('[n]') ylabel('y[n]')


entrada 1 0.9 0.8 0.7 0.6

H1 LA PRIMERA RESPUESTA AL IMPULSO DEL SISTEMA function [ X ] = H2( n ) % Summary of this function goes here % Detailed explanation goes here xb=funcionimpulso(n)+2*funcionimpulso(n1)-2*funcionimpulso(n-2) end clc clear all close all n=-8:8 i=h2(n); stem(n,i) grid title('h2') xlabel('[n]') ylabel('y[n]')
h2 2 1.5 1 0.5

y[n]

0.5 0.4 0.3 0.2 0.1 0 -8

-6

-4

-2

0 [n]

SE CREA LA FUNCION DE ENTRADA DEL SISTEMA function [X ] = h1( n ) %H1 Summary of this function goes here % Detailed explanation goes here X=funcionimpulso(n)+2*funcionimpulso(n1)+3*funcionimpulso(n2)+2*funcionimpulso(n3)+funcionimpulso(n-4)

y[n]

0 -0.5 -1 -1.5 -2 -8

end clc clear all close all n=-8:8 i=h1(n); stem(n,i) grid title('h1') xlabel('[n]') ylabel('y[n]')
h1 3

-6

-4

-2

0 [n]

function [ X ] = h3( n ) %H3 Summary of this function goes here % Detailed explanation goes here X=2*funcionimpulso(n+1)+2*funcionimpulso(n3)+funcionimpulso(n-4) End clc clear all close all n=-8:8 i=h3(n); stem(n,i) grid title('h3') xlabel('[n]') ylabel('y[n]')

2.5

y[n]

1.5

0.5

0 -8

-6

-4

-2

0 [n]

ANALISIS DE SEALES
h3 2 1.5 1 0.5

xc=2*funcionimpulso(n+1)+2*funcionimpulso(n3)+funcionimpulso(n-4) X=xb+xc End n=-8:8 L=entradaxn( n ) H=hequia(-n) k=1 for j=min(n):max(n) con=L.*hequia(j-n) y(k)=sum(con) k=k+1; end stem(n,y) grid title('conv 1 Suma h2(n)+h3(n)') xlabel('[n]') ylabel('y[n]') HEQUIA ES LA SUMA DE H3 Y H2 PARA GENERAR UNA NUEVA SEAL
conv 1 Suma y1(n)+y2(n) 4

y[n]

0 -0.5 -1 -1.5 -2 -8

-6

-4

-2

0 [n]

function [ X ] = h4( n ) %H4 Summary of this function goes here % Detailed explanation goes here X=-2*funcionimpulso(n)+funcionimpulso(n1)+3*funcionimpulso(n-3) end clc clear all close all n=-8:8 i=h4(n); stem(n,i) grid title('h4') xlabel('[n]') ylabel('y[n]')
h4 3 2.5

y[n]

-1 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -8 -2 -8

-6

-4

-2

0 [n]

n=-8:8 L=entradaxn( n ) %YE=h3(-n) k=1 for jj=min(n):max(n) con=L.*h1(jj-n) y2(k)=sum(con) k=k+1; end k=1 for jj=min(n):max(n) con2=y2'.*h3(jj-n) y3(k)=sum(con2) k=k+1; end

y[n]

-6

-4

-2

0 [n]

function [ X ] = hequia(n) %HEQUIA Summary of this function goes here % Detailed explanation goes here xb=funcionimpulso(n)+2*funcionimpulso(n1)-2*funcionimpulso(n-2)

ANALISIS DE SEALES stem(n,y3) grid title('convolucion punto b') xlabel('[n]') ylabel('y[n]')


convolucion punto b 25 convolucion punto c 35 30 25 20 15

y[n]

20 15 10 5

10 5 0 -5 -10 -15 -8

y[n]
0 -5 -10 -15 -20 -8

-6

-4

-2

0 [n]

SE GENERA LA CONVOLUCION DEL SISTEMAS DE ACUERDO CON LA EXPRESION:


-6 -4 -2 0 [n] 2 4 6 8

DEFINIMOS UN SCRIPT EN MATLAB QUE NOS PERMITI CALCULAR LA SALIDA DEL SISTEMAS LTI EN LA DEFINICIN DE CONVOLUCION (VER ECUACIN (1). n=-8:8 L=entradaxn(n) k=1 for jj=min(n):max(n) con=L.*hequic(jj-n) y2(k)=sum(con) k=k+1; end k=1 for jj=min(n):max(n) con2=y2'.*h4(jj-n) y3(k)=sum(con2) k=k+1; end stem(n,y3) grid title('convolucion punto c') xlabel('[n]') ylabel('y[n]')

PARA DESPUES MIRAR SI EL RESULTADO ES EL MISMO CON EL OPERADOR EN MATLAB CONV

CONVOLUCION CON CONV


clc clear all close all n=-8:8 hqa=hequia(n); hqc=hequic(n); ent=entradaxn(n); conva=conv(ent,hqa,'same'); stem(n,conva) grid title('convolucion a') xlabel('[n]') ylabel('y[n]')

ANALISIS DE SEALES
convolucion a 4

title('convolucion c') xlabel('[n]') ylabel('y[n]')


convolucion c 12

10

y[n]

y[n]
4 -1 2 -2 -8 -6 -4 -2 0 [n] 2 4 6 8 0

clc clear all close all n=-8:8 h11=h1(n); h33=h3(n); hqa=hequia(n); hqc=hequic(n); ent=entradaxn(n); conva=conv(ent,h11,'same'); convb=conv(conva,h33,'same'); stem(n,convb) grid title('convolucion b') xlabel('[n]') ylabel('y[n]')
convolucion b 25 20 15 10 5

-2 -8

-6

-4

-2

0 [n]

II. CONCLUSIONES Se comprob la importancia de las herramientas de Matlab, al momento de desarrollar algn procedimiento de ingeniera, mas enfocado a la creacin y manipulacin de seales. Es importante la utilizacin de funciones para un proceso optimizado de anlisis de seales y otros sistemas numricos. La variedad de aplicaciones que ofrece Matlab nos permite ir mucho mas alla, de esta manera no existen limitaciones en cuanto el anlisis de sistemas. La utilizacin de funciones es bastante til, en el momento de manipular las seales puesto que de esta manera se pude llamar la funcin cuantas veces se requiera, y realizar las pruebas o cambios pertinentes sobre sta. Por medio de una seal se puede representar una gran cantidad de sistemas, entre los cuales se puede destacar, la temperatura, el sonido, la electricidad, etc. Gracias a la herramientas que Matlab ofrece, se puede analizar dichas seales, de una manera mas fcil. Se ha logrado ver que a travs del curso que las seales y son una parte importante para el anlisis de los diferentes sistemas, por lo cual en una herramienta como matlab se logran detalles que a simple vista no son posibles de recolectar. Por medio del manejo de vectores y el control de tiempos, se logra obtener una seal, teniedo en cuenta sus caractersticas, como la amplitud, la frecuencia, y

y[n]
0 -5 -10 -15 -20 -8

-6

-4

-2

0 [n]

clc clear all close all n=-8:8 hqc=hequic(n); ent=entradaxn(n); conva=conv(ent,hqc,'same'); stem(n,conva) grid

ANALISIS DE SEALES asi mismo determinar por medio del software, los pulsos, impulsos, o si se esta hablando de vectores unitarios.

Cualquier sistema de seal se pude simular y representar grficamente por medio de Matlab, lo cual hace que las pruebas y anlisis sean mucho mas eficientes.

III. BIBLIOGRAFIA http://cnx.org/content/m41085/latest/?collection=col1 1361/latest http://www.tecnun.es/asignaturas/tratamiento%20digi tal/TEMA2/sld016.htm http://www.youtube.com/watch?v=6F1tvOZF02o http://books.google.com.co/books?id=R7Ryiml5Yd8 C&pg=PA396&lpg=PA396&dq=libros+sobre+convo lucion&source=bl&ots=_Vzjjpw5Zc&sig=OML9_K PcV9OSBFC7B8plH5JWbR4&hl=es&sa=X&ei=F1 EpUcGiOYeE9QSS5YHIBA&ved=0CFkQ6AEwBg #v=onepage&q=libros%20sobre%20convolucion&f= false

Anda mungkin juga menyukai