A C-mex Function to find N largest number in a Matrix

A c-mex function to find N largest number in a matrix.
1,2K download
Aggiornato 28 set 2005

Nessuna licenza

This is a C-Mex Fucntion to find n largest number in a matrix.

>> x=randperm(20);
>> nmax(x,5)

ans =

20 19 18 17 16

>> nthmax(x,5)

ans =

16

Cita come

Changshun Deng (2024). A C-mex Function to find N largest number in a Matrix (https://www.mathworks.com/matlabcentral/fileexchange/8568-a-c-mex-function-to-find-n-largest-number-in-a-matrix), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Input Specification in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0