Why do I receive incorrect results when using three-dimensional arrays with the ISMEMBER function in MATLAB 6.5 (R13)?
I am using ISMEMBER on a three-dimensional array and a false answer is returned. For instance, when I do the following:
ismember(cat(3, 'x', 'y', 'x'), 'xy')
MATLAB returns the following:
ans(:,:,1) = 1 ans(:,:,2) = 0 ans(:,:,3) = 0
Best Answer