KMAXIMA

Version 1.0.0.0 (757 Bytes) von Mukhtar Ullah
Specified number of maxima.
1,9K Downloads
Aktualisiert 24. Nov 2004

Keine Lizenz

KMAXIMA specified number of maxima
For vectors, KMAXIMA(X,K) is the vector of K largest elements in X.
For matrices, Y = KMAXIMA(X,K) is a matrix with K rows. The i-th row
of Y contains the i-th maximum element from each column. For N-D
arrays, KMAXIMA(X,K) operates along the first non-singleton dimension.

[Y,I] = KMAXIMA(X,K) returns the indices of the maximum values in vector I.

[Y,I] = KMAXIMA(X,K,DIM) operates along the
dimension DIM.

When complex, the magnitude ABS(X) is considered when computing the
maxima, and the angle ANGLE(X) is ignored. NaN's are also ignored .

Zitieren als

Mukhtar Ullah (2024). KMAXIMA (https://www.mathworks.com/matlabcentral/fileexchange/6306-kmaxima), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Arithmetic Operations finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

One limitation removed