User talk:Erickdepthios

why ??? Index exceeds matrix dimensions.

Error in ==> IL at 10 gambarIL1 = [gambarIL1; a(i:i+4,j:j+4)];

clear all clc A=imread('GAMBARIL1.jpg'); a = A(:,:,1); [r,c] = size(a); count = 1; gambarIL1 = []; for i=1:5:r for j = 1:5:c gambarIL1 = [gambarIL1; a(i:i+4,j:j+4)]; count = count + 1; end end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %FUNGSI FLATTEN DARI NSTOOLBOX %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IL1 = double(nsFlatten (gambarIL, count-1)); save IL