ts_sort
Version 1.0.0 (1,59 ko) par
Matt Stead
A sort for time series data. Faster than qsort(), mergesort(), or heapsort() when compiled.
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.
Citation pour cette source
Matt Stead (2026). ts_sort (https://fr.mathworks.com/matlabcentral/fileexchange/73124-ts_sort), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- Sciences > Neuroscience > Human Brain Mapping > EEG/MEG/ECoG >
- MATLAB > Language Fundamentals > Matrices and Arrays > Shifting and Sorting Matrices >
- Engineering > Biomedical Engineering > Biomedical Signal Processing >
En savoir plus sur EEG/MEG/ECoG dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
