Doesn't work for me get the following error:
??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> aRGB2IND at 12
RGBij = double(reshape(RGB(i,j,:), 1, 3)./255);
Error in ==> movie2gif at 75
[IND, map] = aRGB2IND(RGB);
Comment only