Convolucion

Páginas: 3 (504 palabras) Publicado: 12 de noviembre de 2012
SEÑALES Y SISTEMAS LINEALES 1
PRIMER PROYECTO
AULA: T23
16-04-11
SECCION: D01
De Alba Rodríguez Javier
PROF: Juan Gustavo Ruiz Barajas




USO DE MATLAB PARA HACER UNA CONVOLUCION DEUN ARCHIVO DE IMAGEN
A = imread('batman.jpg');
imshow(A)

h = [1/32 1/32 1/32];
Y = convn(b,h);
figure
imshow(Y)

h = [1/300 1/300 1/300];
Y = convn(b,h);
figure
imshow(Y)

h = [1/5001/500 1/500];
Y = convn(b,h);
figure
imshow(Y)

h = [1/1000 1/1000 1/1000];
Y = convn(b,h);
figure
imshow(Y)









1/321/300


Imagen original

1/500 1/1000

USO DE MATLAB PARA HACER UNA CONVOLUCION DE UN ARCHIVO DE SONIDOa=wavread('SONIDO');
plot(G,'K','linewidth',1),title('Convolucion original'),grid;

A=wavread('SONIDO');
x1=[1/2,1/2,1/2,1/2,1/2];
M=convn(A,x1);
wavwrite(M,20050,16,'SONIDO1');plot(M,'r','linewidth',1),title('Convolucion1/2'),grid;


A=wavread('SONIDO');
x1=[1/6,1/6,1/6,1/6,1/6];
M=convn(A,x1);
wavwrite(M,20050,16,'SONIDO2');
plot(M,'G','linewidth',1),title('Convolucion1/6'),grid;a=wavread('SONIDO');
x3=[1/20,1/20,1/20,1/20,1/20];
G=convn(A,x3);
wavwrite(G,20050,16,'SONIDO3');
plot(G,'K','linewidth',1),title('Convolucion1/20'),grid;

A=wavread('SONIDO');x1=[1/32,1/32,1/32,1/32,1/32];
M=convn(A,x1);
wavwrite(M,20050,16,'SONIDO4');
plot(M,'G','linewidth',1),title('Convolucion1/32'),grid;

A=wavread('SONIDO');
x1=[1/2,1/2,1/2,1/2,1/2];
M=convn(A,x1);wavwrite(M,20050,16,'SONIDO1');
subplot(4,1,1),plot(M,'r'),title('Convolucion1/2'),grid;
x2=[1/6,1/6,1/6,1/6,1/6];
G=convn(A,x2);
wavwrite(G,20050,16,'SONIDO2');subplot(4,1,2),plot(G,'y'),title('Convolucion1/6'),grid;
x3=[1/20,1/20,1/20,1/20,1/20];
F=convn(A,x3);
wavwrite(F,20050,16,'SONIDO3');
subplot(4,1,3),plot(F,'b'),title('Convolucion1/20'),grid;
x4=[1/32,1/32,1/32,1/32,1/32];...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Convolucion
  • Convolucion
  • convolucion
  • convolucion
  • Convolución
  • Convolucion
  • Convolucion
  • Convolucion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS