adjmat2cell.m

来自「The package includes 3 Matlab-interfaces」· M 代码 · 共 9 行

M
9
字号
function adjCell = adjMat2Cell(adjMat)% create the cell-array of neighbours indicesN = size(adjMat,1);adjCell = cell(1,N);for i=1:N    adjCell{i} = find(adjMat(i,:));end

⌨️ 快捷键说明

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