qselect

Select the k-th smallest out of n numbers.

Sie verfolgen jetzt diese Einreichung

Finds the k-th smallest from a list of n numbers. Based on Hoare's Quickselect algorithm with the median of three pivot strategy.
See https://en.wikipedia.org/wiki/Quickselect for details.

The k-th *largest* element can be found by passing n+1-k

Zitieren als

Manolis Lourakis (2026). qselect (https://de.mathworks.com/matlabcentral/fileexchange/68947-qselect), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0