www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/NeighboringGraphNodesExample.m
%% Neighboring Graph Nodes % Create and plot a graph, and then determine the neighbors of node |10|. % Copyright 2015 The MathWorks, Inc. G = graph(bucky); plot(G) %% % N = neighbors(G,10)