Watch this Author's files
I'm trying to use this function with Matlab r2007b on a Mac (OS 10.5), and I get the error:
??? Error using ==> rdivide
Number of array dimensions must match for binary array op.
Error in ==> export_fig at 143
A = uint8(B ./ A(:,:,[1 1 1]));