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


%%%%%%%%%%%%%% 
%% hmm.m    %% 
%%%%%%%%%%%%%% 
 
 
%% Reset the other function selections %% 
set(fcn1hndl,'value',1); 
set(fcn2hndl,'value',1); 
set(fcn3hndl,'value',1); 
set(fcn4hndl,'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(fcn5hndl,'value'); 
 
%% Possible Selections                  %% 
%% 1 - About Hidden Markov Models       %% 
%% 2 - Training                         %% 
%% 3 - Recognition                      %% 
 
if val == 1 
   abhmm 
end 
if val == 2 
   hmmtrain 
end 
 
if val == 3 
   hmmrecog 
end 
 
return