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.
引用格式
Matt Stead (2024). ts_sort (https://www.mathworks.com/matlabcentral/fileexchange/73124-ts_sort), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Sciences > Neuroscience > Human Brain Mapping > EEG/MEG/ECoG >
- MATLAB > Language Fundamentals > Matrices and Arrays > Shifting and Sorting Matrices >
- Engineering > Biomedical Engineering > Biomedical Signal Processing >
在 Help Center 和 MATLAB Answers 中查找有关 EEG/MEG/ECoG 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |