Xc = imread('IM1.jpg');tam = size(Xc)sizex = tam(1);sizey = tam(2);blank = ones(sizex,sizey,3);for i=1:sizex for j=1:sizey for d=1:3 blank(i,j,d)=Xc(i,j,d); end endendimshow(blank);
why isn't it working? any ideas?
Best Answer