Subsequence DTW
Optimal time alignment of the sequence X with a subsequence of Y .Aligned points are indicated by the arrows
how to do this ,I will told you a method :
if you don't understand this ,please do see 'min';
it works for Synchronization !!!