simsort

Sorts vectors using quicksort.

2.8K Downloads

Updated 23 Oct 2007

View License

This block sorts the input vector using the quicksort algorithm as described in http://en.wikipedia.org/wiki/Quicksort

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 http://mathworld.wolfram.com/Quicksort.html

Giampy

Cite As

Giampiero Campa (2023). simsort (https://www.mathworks.com/matlabcentral/fileexchange/7937-simsort), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

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.