Dynamic Time Warping

版本 1.0.0.0 (1.5 KB) 作者: Timothy Felty
Dynamic time warping program. Calculates the similarity between 2 vectors.
25.2K 次下载
更新时间 2005/12/12

查看许可证

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

引用格式

Timothy Felty (2024). Dynamic Time Warping (https://www.mathworks.com/matlabcentral/fileexchange/6516-dynamic-time-warping), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Faster implementation thanks to review by Georg Schmitz.