Dynamic timing warping (DTW) is a useful method in speech recognition [10]. Two-time series can be distinguished by comparing the distance between them. In this progress, the two-time series will be matched in order to minimize the distance which signifies the degree of difference between the two series.