I have a 4 dimensional matrix that represents an array of arrays and I need to find the minimum value and its index in each of the sub arrays. IE I need to call min(example(:)) on example(:,:,1,1), example(:,:,1,2)… example(:,:,1,m), example(:,:,2,1)… example(:,:,2,m)… example(:,:,n,m). Any help with this would be much appreciated.
MATLAB: Minimum value in sub Matrix
MATLABminimummultidimensional
Best Answer