File Exchange

image thumbnail


version (27.9 KB) by Giampiero Campa
Sorts vectors using quicksort.

1 Download

Updated 23 Oct 2007

View License

This block sorts the input vector using the quicksort algorithm as described in

Quicksort is the world's most widely used sorting algorithm, and perhaps even the world's most widely used algorithm of any kind.
More info on the mathematical behavior of the algorithm can be found in


Cite As

Giampiero Campa (2020). simsort (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Karl-Heinz Meitinger

Does what it says, small, simply good!

Shijun Diao

great, very useful tool


Recompiled the s-funcion with matlab 7.1 so that everything works fine with newer versions requiring the .mexw32 extension. The .dll files are retained to the benefit users working with versions prior to 7.1, other users may delete them.

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux