Dynamic Time Warping
by Timothy Felty
08 Dec 2004
(Updated 12 Dec 2005)
Dynamic time warping program. Calculates the similarity between 2 vectors.
|
Watch this File
|
| File Information |
| Description |
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 |
| Acknowledgements |
This submission has inspired the following:
Constrained Dynamic Time Warping Distance Measure, Continuous Dynamic Time Warping
|
| MATLAB release |
MATLAB 6.1 (R12.1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (28) |
| 15 Dec 2004 |
zhlong l
|
|
|
| 11 Feb 2005 |
mahajan bhushan
|
|
|
| 29 Mar 2005 |
Carlos Franco
|
|
|
| 06 Apr 2005 |
Georg Schmitz
|
|
|
| 29 Apr 2005 |
Ivo Ihrke
|
|
|
| 04 May 2005 |
jamal habibi
|
|
|
| 20 Feb 2006 |
Natan K
|
|
|
| 08 Sep 2006 |
Rogelio Ramos
|
|
|
| 16 Oct 2006 |
reza rezaww
|
|
|
| 18 Dec 2006 |
Yuzeng Lv
|
|
|
| 08 Jan 2007 |
Boat MiMi
|
|
|
| 24 Jan 2007 |
Sven Mensing
|
|
|
| 20 Feb 2007 |
weera kompreyaray
|
|
|
| 07 Jun 2007 |
Pau Micó
|
|
|
| 28 Jan 2008 |
twinss ahmed
|
|
|
| 26 Feb 2008 |
Sai Man
|
|
|
| 25 Mar 2008 |
Ahmed Bderhman
|
|
|
| 14 Oct 2008 |
Zhuo Feibao
|
|
|
| 07 Apr 2009 |
Tony Mei
|
|
|
| 13 Apr 2009 |
Wen
|
|
|
| 30 Mar 2010 |
Mano Samuel
|
|
|
| 13 Aug 2010 |
Nandha
|
|
|
| 17 Sep 2010 |
abdur
|
|
|
| 14 Nov 2010 |
Lars
|
|
|
| 01 Aug 2011 |
Mohammed Khalilia
|
|
|
| 10 Aug 2011 |
He
|
|
|
| 24 Nov 2011 |
Vicky
|
|
|
| 13 Jan 2012 |
Akhil Sudhakar
|
|
|
| Updates |
| 03 May 2005 |
Few minor updates |
| 12 Dec 2005 |
Faster implementation thanks to review by Georg Schmitz. |
|
Contact us at files@mathworks.com