What is the role of 'maxsamp' argument in Dynamic Time Warping (DTW) function in MATLAB 2016b
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Baran Yildiz
el 10 de Nov. de 2016
Respondida: Walter Roberson
el 10 de Nov. de 2016
Hi
I am having difficulty understanding the 'maxsamp' argument for the dynamic time warping 'dtw' distance function. The explanation given in the below documentation seems to be quite brief and was not able to find other relevant documents around.
Would appreciate if someone can give an example or explanation.
Best
Baran
0 comentarios
Respuesta aceptada
Walter Roberson
el 10 de Nov. de 2016
Fit a straight line over x and y, like
coeffs = polyfit(x, y, 1)
Now, as you go along doing the warping, ignore any sample that is more than maxsamp away from that line.
This sort of declares anything too far away from the average to be an outlier that should be ignored in calculating the warping.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!