You are on page 1of 1

x1 = imread('C:\Program Files\MATLAB\R2012a\bin\1.

JPG');
h1 = [1/20];
y1 = convn (x1,h1);
imwrite(y1,'C:\Program Files\MATLAB\R2012a\bin\1copia.JPG');
x2 = imread('C:\Program Files\MATLAB\R2012a\bin\2.jpg');
h2 = [1/40];
y2 = convn (x2,h2);
imwrite(y2,'C:\Program Files\MATLAB\R2012a\bin\2copia.JPG');
x3 = imread('C:\Program Files\MATLAB\R2012a\bin\3.jpg');
h3 = [1/600];
y3 = convn (x3,h3);
imwrite(y3,'C:\Program Files\MATLAB\R2012a\bin\3copia.JPG');
x4 = imread('C:\Program Files\MATLAB\R2012a\bin\4.jpg');
h4 = [1/800];
y4 = convn (x4,h4);
imwrite(y4,'C:\Program Files\MATLAB\R2012a\bin\4copia.JPG');

You might also like