how to apply dynamic time wrapping
5 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
Greg Dionne
2018 年 10 月 9 日
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)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で AI for Wireless についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!