DTW is implemented in both MATLAB/Octave and C/MEX. The C/MEX function is very fast.
The algorithm we use is the standard one from Wikipedia:
There is a demo in the package. To use, just call:
This library is also available on MathWorks MATLAB Central:
Quan Wang (2023). Dynamic Time Warping (DTW) (https://github.com/wq2012/dynamic_time_warping/releases/tag/v2.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
See release notes for this release on GitHub: https://github.com/wq2012/dynamic_time_warping/releases/tag/v2.2
Minor bug fixed according to the suggestion from Steven du, NTU. Thanks.
added Matlab compiler as required products
removed mex file