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

📄 psisqueezecell.m

📁 The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full
💻 M
字号:
function psiCell = psiSqueezeCell(lambda,adjCell,potts_model)% squeeze the psi-data into the form read by c_inferenceif (nargin<3)    potts_model = 0;endN = size(adjCell,2);psiCell = cell(1,N);for i=1:N    if potts_model        psiCell{i} = lambda(i,adjCell{i});    else                neighb_num = length(adjCell{i});        psiCell{i} = cell(1,neighb_num);        for n=1:neighb_num            j = adjCell{i}(n);            psiCell{i}{n} = lambda{i,j};        end    endend

⌨️ 快捷键说明

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