Code covered by the BSD License  

Highlights from
findNlargest

findNlargest

by

 

Finds the N largest values in the input. Very fast.

findNlargest.m
%LARGEVALUES = findNlargest(INPUTVALUES, N)
%
% Finds the N largest values in INPUTVALUES and outputs them to LARGEVALUES
%
%[LARGEVALUES, INDEX] = findNlargest(INPUTVALUES, N)
%
% INDEX is the index of the returned values in the original INPUTVALUES 

Contact us