?? makel.m
字號:
% Make links of all the pairs of nodes. % Some heuristics might be added latter.function L = makeL(coord) N = size(coord,1); L = zeros(N*(N-1),2); for i=1:N*(N-1) si = floor((i-1)/(N-1))+1; di = mod(i-1,N-1)+1; if di >= si di = di+1; end L(i,:) = [si,di]; end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -