www.pudn.com > asr.rar > DIST.M, change:2004-11-06,size:214b
function d=dist(A,B,x,y) % d = dist(A,B,x,y); % local distance computation for DTW % A,B - sequences of feature vectors % x,y - column indice for A and B respectively d=sum( (A(:,x)-B(:,y)).^2 ); return