Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Simple implementation of quicksort algorithm in Matlab. It's O(N log N) but the only optimisation is that the pivot point is the central element (to prevent pathological behaviour on sorted input). It takes a C-style comparison function. If the vector to sort is a cell array, the comparison function works on cell contents. Any type of data can be sorted, as long as you can write a comparator for it.
Citation pour cette source
Malcolm McLean (2026). qsort (https://fr.mathworks.com/matlabcentral/fileexchange/26612-qsort), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.2 (1,47 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2 | Toolbox |
|
|
| 1.1.0.0 | Patch to reduce the number of recursions when fed data of all equal value. |
||
| 1.0.0.0 |
