www.pudn.com > asr.rar > DTWARP.M, change:2004-11-06,size:720b


%%%%%%%%%%%%%%% 
%% dtwarp.m  %% 
%%%%%%%%%%%%%%% 
 
 
%% Reset the other function selections %% 
set(fcn1hndl,'value',1); 
set(fcn2hndl,'value',1); 
set(fcn3hndl,'value',1); 
set(fcn5hndl,'value',1); 
 
 
%% Get Input Data  %% 
ip1=get(ip1hndl,'string'); 
ip2=get(ip2hndl,'string'); 
ip3=get(ip3hndl,'string'); 
ip4=get(ip4hndl,'string'); 
 
%% clear previous figures %% 
 
 
%% Determine Selection Item %% 
val=get(fcn4hndl,'value'); 
 
%% Possible Selections                  %% 
%% 1 - About Dynamic Time Warping       %% 
%% 2 - Training                         %% 
%% 3 - Recognition                      %% 
 
if val == 1 
   abdtw; 
end 
if val == 2 
   dtwtrain; 
end 
if val == 3 
   dtwrecog; 
end 
 
return