?? link_covariates_to_nodes_hier_hmm_timesq.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 + -