can u give me mat lab code for dtw algorithm
6 次查看(过去 30 天)
显示 更早的评论
compute d(i,j)=d(seq(i),seq(j)) initialize D(1,1)=d(1,1) for(i=2 to n1) D(i,1)=D(i-1,1)+d(i,1) for (j=2 to n2) D(1,j)=D(1,j-1)+d(1,j) find the value for (i=2 to n1) for (j=2 to n2) D(i,j)=D(k,l)+d(i,j)
0 个评论
回答(1 个)
Steven Lord
2018-4-4
If you have to write your own function (as part of a homework assignment?) show us what you've tried so far and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you mean something else when you refer to "dtw algorithm", please explain in more detail what you're trying to compute.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!