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