can u give me mat lab code for dtw algorithm

6 vues (au cours des 30 derniers jours)
sudha kulal
sudha kulal le 4 Avr 2018
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)

Réponses (1)

Steven Lord
Steven Lord le 4 Avr 2018
Did you mean dynamic time warping? There's a function in Signal Processing Toolbox for that.
Did you mistype and you actually meant the discrete wavelet transform? That's in Wavelet Toolbox.
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.

Community Treasure Hunt

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

Start Hunting!

Translated by