This is my code:
arr = zeros(fx-10,1);
frm = frams(x).cdata;
for k=1:fx-10
for i=1:10
for j=1:fy
arr(k) = arr(k)+ abs(frm(k+i-1,j)-model(i,j))
end
end
end
Why the array receive only up to 255 value?
I try to define:
arr = zeros(fx-10,1,'int64');
and the code failed:
??? Undefined function or method 'plus' for input arguments of type 'int64'.