can u give me mat lab code for dtw algorithm

조회 수: 5 (최근 30일)
sudha kulal
sudha kulal 2018년 4월 4일
답변: Steven Lord 2018년 4월 4일
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
Steven Lord 2018년 4월 4일
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.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by