Dynamic Time Warping

Dynamic time warping program. Calculates the similarity between 2 vectors.
25,3K Downloads
Aktualisiert 12. Dez 2005

Lizenz anzeigen

If you pass in 2 vectors it returns the unnormalized distance between the vectors, the accumulated distance between them, the length of the warping path (the normalizing factor), and the warping path points.

To compare 2 vectors A and B call:
[Dist,D,k,w]=dtw(A,B)
Dist is the unnormalized distance
D is the accumulated distance
k is the length of the warping path
(the normalizing factor)
w is a matrix containing the points along the warping path

Zitieren als

Timothy Felty (2026). Dynamic Time Warping (https://de.mathworks.com/matlabcentral/fileexchange/6516-dynamic-time-warping), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R12.1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Biomedical Imaging finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0

Faster implementation thanks to review by Georg Schmitz.