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!