Publisher review:min and max for arrays of any dimension - Extends min and max to n-D. MINN N-D Array Minimum.
MINN(A) returns the minimum value found in the array A.
[MN,Row,Col] = MINN(A) for 2-D A returns the minimum value MN as well as the row and column subscripts where the minimum appears. Row and Col are column vectors if multiple minimums appear in A.
[MN,Idx] = MINN(A) returns the minimum value MN as well as the linear indices Idx of all elements in A that are equal to MN.
To get the row, column, ..., subscripts associated with the linear indices use IND2SUB(size(A),Idx).MAXN N-D Array Maximum.
MAXN(A) returns the maximum value found in the array A.
[MX,Row,Col] = MINN(A) for 2-D A returns the maximum value MX as well as the row and column subscripts where the maximum appears. Row and Col are column vectors if multiple maximums appear in A.
[MX,Idx] = MAXN(A) returns the maximum value MX as well as the linear indices Idx of all elements in A that are equal to MX.
To get the row, column, ..., subscripts associated with the linear indices use IND2SUB(size(A),Idx). Requirements: ยท MATLAB Release: R13
min and max for arrays of any dimension is a Matlab script for Mathematics scripts design by Duane Hanselman.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris