Code covered by the BSD License  

Highlights from
simsort

5.0

5.0 | 2 ratings Rate this file 5 Downloads (last 30 days) File Size: 27.88 KB File ID: #7937
image thumbnail

simsort

by Giampiero Campa

 

28 Jun 2005 (Updated 23 Oct 2007)

Sorts vectors using quicksort.

| Watch this File

File Information
Description

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

Required Products Simulink
MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Jul 2005 Shijun Diao

great, very useful tool

28 Nov 2005 Karl-Heinz Meitinger

Does what it says, small, simply good!

Please login to add a comment or rating.
Updates
23 Oct 2007

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.

Tag Activity for this File
Tag Applied By Date/Time
simulink Giampiero Campa 22 Oct 2008 07:51:37
sort Giampiero Campa 22 Oct 2008 07:51:37
qsort Giampiero Campa 22 Oct 2008 07:51:37
quicksort Giampiero Campa 22 Oct 2008 07:51:37
sorting Giampiero Campa 22 Oct 2008 07:51:37
vector Giampiero Campa 22 Oct 2008 07:51:37
hoare Giampiero Campa 22 Oct 2008 07:51:37

Contact us at files@mathworks.com