我用的matlab7.00,好像不能识别这个函数:[Spec_Out]=MS_Regress_Fit(dep,indep,k,S,advOpt),会出现错误:
??? Undefined function or method 'MS_Regress_Fit' for input arguments of type
'struct'.
Error in ==> MS_reg at 21
[Spec_Out]=MS_Regress_Fit(dep,indep,k,S,advOpt); % Estimating the model
然后在https://bbs.pinggu.org/thread-1494461-1-1.html下载了马尔科夫转移模型的软件包,可是在用它里面最简单的那个拟合的例子“Example_MS_Regress_Fit.m”时还是出现函数调用错误,??? Error using ==> fmincon
FMINCON cannot continue because user supplied objective function failed with the following error:
Variable 'indep_nS' is used as a command function.
Error in ==> m_Files\MS_Regress_Fit.m at 83
[param]=fmincon(@(param)MS_Regress_Lik(dep,indep_nS,indep_S,param,k,S,advOpt,dispOut),param0, ...
这个软件包貌似有问题啊,谁有好的给我传一个吧,哪位弄马尔科夫模型的大侠帮帮忙吧,哎,太伤神了。