how to apply dynamic time wrapping

3 visualizaciones (últimos 30 días)
OriAlpha
OriAlpha el 9 de Oct. de 2018
Respondida: Greg Dionne el 9 de Oct. de 2018
how to apply dynamic time wrapping in Matlab if the length of the sequence is not equal. Can we do zero padding for sequence and apply DTW.

Respuesta aceptada

Greg Dionne
Greg Dionne el 9 de Oct. de 2018
DTW(X,Y) can work on vectors of non-equal length. It will repeat elements in either X or Y so that the comparison is of the same length.
To find out what those indices are, you can use the version:
[D, IX, IY] = DTW(X,Y)
This returns two index vectors, IX and IY, of equal length. In this way you can determine which elements of X are paired with Y. See the second version documentation for dtw (link)

Más respuestas (0)

Categorías

Más información sobre Time Series en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by