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

📄 link_covariates_to_nodes_hier_hmm_timesq.m

📁 The BNL toolbox is a set of Matlab functions for defining and estimating the parameters of a Bayesi
💻 M
字号:
function cov_nodes=link_covariates_to_nodes_hier_hmm_timesq(equiv_class,covariates_names,onames,B,D)
%specifies which covariates belong to which equivalence class of nodes



j=1;
for i=1:B*D
    if mod(i,B)~=1
        f1=eval(['strmatch(''Xsignal_',int2str(i),''',onames)']);
        f2=eval(['strmatch(''time_',int2str(i),''',covariates_names)']);
        f3=eval(['strmatch(''timesq_',int2str(i),''',covariates_names)']);
        cov_nodes{j,1}=equiv_class(f1(1));
        cov_nodes{j,2}=[f2(1) f3(1)];
        j=j+1;
    end
end

⌨️ 快捷键说明

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