maxk
Find k largest elements of array
Description
returns the B = maxk(A,k)k largest elements of A.
If
Ais a vector, thenmaxkreturns a vector containing theklargest elements ofA.If
Ais a matrix, thenmaxkreturns a matrix whose columns contain theklargest elements of each column ofA.If
Ais a multidimensional array, thenmaxkreturns theklargest elements along the first dimension whose size does not equal 1.

