Created
April 23, 2017 18:18
-
-
Save binary-signal/372503543110d918ae39711bae0d01f4 to your computer and use it in GitHub Desktop.
graphs in matlab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num_nodes =10 | |
G = graph; | |
for n=1:num_nodes | |
G= addnode(G,strcat('node_',int2str(n))); | |
end | |
k =G.Nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment