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

📄 cform2sparsecell.m

📁 The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full
💻 M
字号:
function sc = cform2SparseCell(pairwiseData,adjCell)% convert the pairwise-data (like pairwise beliefs) written by c_inference% to sparse_cellN = size(adjCell,2);sc = sparse_cell(N,N);for i=1:N    neighb_num = length(adjCell{i});    for n=1:neighb_num        j = adjCell{i}(n);        if i<j            data_ij = pairwiseData{i}{n};            sc{i,j} = data_ij;            sc{j,i} = data_ij';        end    endend

⌨️ 快捷键说明

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