image thumbnail

updated almost 4 years ago

N largest values and locations in multidimensional array by Alan Jennings

Returns the N largest values for a multidimensional array, and their subscripts. (kthvalue, max, largest)

[maxs,locs]=maxNvalues(A,n,Unique)

Contact us