File Exchange > DataAnalysis >    Dynamic Time Warping

Author:
OriginLab Technical Support
Date Added:
1/22/2018
Last Update:
3/14/2019
Downloads (90 Days):
410
Total Ratings:
4
File Size:
121 KB
Average Rating:
File Name:
dtw.opx
File Version:
1
Minimum Versions:
License:
Free
Summary:

Calculate dynamic time warping of two series of values.

Screen Shot and Video:
Description:

This app calculates the warping distance of 2 series.

Installation

Download the file Dynamic Time Warping.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.

Operation

  1. Activate a worksheet or a matrix sheet and click on the app icon
  2. Select the two series for input data.
    If the input data are two matrices, they must have the same number of columns.
  3. Set Window Size = 0 to get an exact path. To apply a window, set Window Size to a positive integer.
  4. Click on the OK button.

Example

To align 2 sequences, you can use the correspondences as index to create the new ones as following.

Note: If you want to output cost matrix, you must call the X-Function by LabTalk and set maxsamp (window size) to 0 and cost to 1. e.g.

dtw -r 2 s1:=1 s2:=2 maxsamp:=0 cost:=1;

 

Updates:

Reviews and Comments:
03/14/2019weiduxpThis app can calculate the warping distance of 2 series

03/14/2019OriginLabHi Nico136, you can align the data using index: correspondence 1 for sequence 1, and correspondence 2 for sequence 2.

03/13/2019Nico136Hello, i dont unterstand how you use the resulting correspondence to really allign your data? Can you maybe help

03/13/2019Nico136Hello, i dont unterstand how you use the resulting correspondence to really allign your data? Can you maybe help