[maxF loc]=max(F(:));[row col]=size(F);%create a matrix max
G=(128-maxF).*ones(row,col);??? Error using ==> timesIntegers can only be combined withintegers of the same class, or scalardoubles.Error in ==> Mor at 24G=(128-maxF).*ones(row,col);
help me
Best Answer