https://www.mathworks.com/help/signal/ref/dtw.html
This MATLAB function stretches two vectors, x and y, onto a common set of instants such that dist, the sum of the Euclidean distances between corresponding...
dynamic time warpingdistance betweendtwsignalsusing