ts_sort

Version 1.0.0 (1,59 KB) von Matt Stead
A sort for time series data. Faster than qsort(), mergesort(), or heapsort() when compiled.
15 Downloads
Aktualisiert 26. Okt 2019

Lizenz anzeigen

a sort for time series data, faster than qsort(), mergesort(), or heapsort() when compiled

Output for sorting a 1000000 point array of EEG:

ts_sort (in place): 0.005790 sec
ts_sort (not in place): 0.010951 sec
qsort: 0.016164 sec
mergesort: 0.019134 sec
heapsort: 0.086998 sec

I also uploaded a mex version, but for some reason, it does not perform as well as when simply run from the command line. Perhaps Mathworks can address that.

Zitieren als

Matt Stead (2025). ts_sort (https://de.mathworks.com/matlabcentral/fileexchange/73124-ts_sort), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0