?? select_max_config.m
字號(hào):
function [cliquetable,septable]=select_max_config(cliquetable,septable)
numb_clqs=length(cliquetable.pots);
for i=1:numb_clqs
siz=cliquetable.dim{i};
table=reshape(cliquetable.pots{i},prod(siz(1:end-1)),siz(end));
m=max(table);
maxtable=repmat(m, prod(siz(1:end-1)),1);
a=(table==maxtable);
cliquetable.pots{i}(:)=reshape(a,siz);;
end
%put potentials of separators to 1
a= find(~isemptycell(septable.pots));
for i=a'
septable.pots{i}(:)=1;
end
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -