How can I use the graph()-function
Ältere Kommentare anzeigen
If I use the graph()-function to create a Graph object it works only if the workspace is clear. I use type
A= [0 1 0 1;1 0 1 1;0 1 0 1;1 1 1 0]; G= graph(A);
it works. If I use the same code in a project and I insert this lines the following error occurs: "Subscript indices must either be real positive integers or logicals." I don't use the variable A or G otherwise in the project... Thanks for helping, Chris
Akzeptierte Antwort
Weitere Antworten (1)
Christian
am 10 Sep. 2015
0 Stimmen
Kategorien
Mehr zu Networks finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!