MATLAB: Dimension mismatch

image processing

I have a set of code ,for some RGB images my codes works but for some the coed not work i get an error "Subscripted assignment dimension mismatch",can u tell how to solve it

Best Answer

I already gave him the reason why in his original post: http://www.mathworks.com/matlabcentral/answers/18294-dimension-mismatch