can u give me mat lab code for dtw algorithm
显示 更早的评论
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)
回答(1 个)
Steven Lord
2018-4-4
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!