⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mu_tsensemble_create.m

📁 时间序列分析中很用的源码,书的原名为时间序列分析的小波方法.
💻 M
字号:
function tse = MU_tsensemble_create(tsensemble)if(~exist('tsensemble', 'var') || isempty(tsensemble))  error('MUNIT:MissingRequiredArgument', ...        [mfilename, ' requires a tsensemble argument.']);endif (isa(tsensemble, 'function_handle'))  tse_file = func2str(tsensemble);  pathstr = '';else  [pathstr, name, ext, versn] = fileparts(tsensemble);  if (~isempty(pathstr))    tse_file = name;  else    tse_file = tsensemble;  endend%% Verify that tsensemble function file exists current pathif (isempty(pathstr))  if (isempty(which(tse_file)))    error('MUNIT:UnknownTestsensemble', ...          ['Testsensemble (', tse_file, ') not found']);  end%% else, verify tsensemble function file exists in alternate pathelse  if (~exist(fullfile(pathstr, [name '.m'])))    error('MUNIT:UnknownTestsensemble', ...          ['Testsensemble (', tse_file, ') not found']);  endend    curpath = pwd;try  if (~isempty(pathstr))    cd(pathstr);  end  tse = feval(tse_file);  if (~isempty(pathstr))    cd(curpath);  endcatch  err = lasterror;  cd(curpath);%    rethrow(err);  error('MUNIT:MU_tsensemble_case:creationError', ...        ['Error creating test suite ensemble (', tse_file, ').']);endreturn

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -