Finds optimal alignment between two

time series x and y, and dtwDist(mx, my=mx, ...) or dist(mx, my=mx, method="DTW", ...)

calculates the distances between time series mx and my
> idx <- seq(0, 2*pi, len=100)

> a <- sin(idx) + runif(100)/10
> b <- cos(idx)

> align <- dtw(a, b, step=asymmetricP1, keep=T)

> dtwPlotTwoWay(align)
calculates the distances between time series


Post a Comment

0 Comments