登录
首页 » matlab » DTW

DTW

于 2014-05-05 发布 文件大小:1KB
0 204
下载积分: 1 下载次数: 8

代码说明:

  DTW算法的程序,申请两个n*m的矩阵D、d,分别为累积距离和帧匹配距离。这里n和m为测试模版与参考模版的帧数。然后通过一个循环计算两个模版的帧匹配距离d。接下来进行动态规划,为每个格点 (i,j)都计算其三个可能的前续格点的累积距离D1,D2,D3。考虑到边界问题,有些前续格点可能不存在,因此加入一些判断条件最后利用最小值函数min(),找到三个前续格点的累积 距离作为累积距离,与当前帧的匹配距离d(i,j)相加,作为当前格点的累积距离。该计算过程一直达到格点(n,m),并将D(n,m)输出,作为模版匹配的结果。(DTW algorithm procedures, apply two n* m matrix D, d, respectively, accumulated distance and frame matching distance. Where n and m is a reference test pattern and the template frames. Then through a loop to calculate two frames template matching distance d. Next, dynamic programming, for each grid point (i, j) are calculated from the cumulative D1 before the renewal of its three possible lattice point, D2, D3. Taking into account the boundary problem, some former continued grid point may not exist, so add some conditions to determine the final use of the minimum function min (), found three former continued accumulation of grid points cumulative distance as the distance from the current frame to match the d (i, j) added, and a current cumulative distance grid. This calculation has reached the grid (n, m), and D (n, m) output, as a result of template matching.)

文件列表:

DTW.txt,1839,2012-10-29

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ARpredictor
    matlab实现的关于数字信号处理2的一个AR模型的程序,大家可以看一下了啊。。。。。(matlab implementation of digital signal processing on an AR model of 2 procedures, we can look at the ah. . . . .)
    2011-05-11 18:46:11下载
    积分:1
  • exam4_2
    结构分析的有限元与matlab一书中的源代码第四部分,二维线弹性有限元(originnl programs in the book of finite element method in structure analyses and matlab programming part 4)
    2012-10-17 21:51:45下载
    积分:1
  • power_PVarray_grid_det
    100kW三相光伏并网详细模型 MPPT使用增量电导法(Detailed model of 100 kW three-phase photovoltaic grid-connected MPPT uses incremental conductivity method)
    2019-06-04 14:57:39下载
    积分:1
  • Taflove_Codes
    codes for Taflove s FDTD book.
    2009-11-27 01:49:48下载
    积分:1
  • trstabsynch
    A transient sstability simulation of a single synchronous machine connected to an infinite bus.
    2013-02-08 23:47:54下载
    积分:1
  • matlabforGE
    matlab遗传算法程序,非常不错的,欢迎下载(matlab for GE)
    2009-09-25 15:08:16下载
    积分:1
  • Accurate-Simulink
    在simulink里如何精确建模-好文推荐 Building Accurate, Realistic Simulink Models By Seth Popinchalk An accurate system model is one that performs as expected and produces the desired results. To achieve this level of accuracy you must have a clear modeling goal. For example, will the model be used strictly for simulation, or for generating embedded C code?? This article describes five modeling techniques that can help ensure accuracy: Select the right modeling approach Know your system, understand its dynamics Monitor fo (How accurate modeling in simulink- good text recommended)
    2012-09-28 02:27:16下载
    积分:1
  • AR0134_DS_B
    Aptina AR0134 video imaging sensor datasheet
    2014-12-31 04:35:45下载
    积分:1
  • time-domain-pitch-detection
    时域基音检测的基本原理和方法。基音检测的预处理和后处理的基本思想和方法。基于归一化互相关函数的基音检测算法。 (Basic principles and methods of time-domain pitch detection. Pitch detection, pre-and post-processing of the basic ideas and methods. Pitch detection algorithm based on normalized cross-correlation function.)
    2012-06-19 13:41:42下载
    积分:1
  • matlab-PDE
    matlab解偏微分方程,里面详细介绍了偏微分方程怎么离散化通过Matlab求解。(The MATLAB solution of partial differential equations)
    2012-05-03 12:16:46下载
    积分:1
  • 696518资源总数
  • 106265会员总数
  • 10今日下载