I can't create a graph from the adjacency matrix
Mostra commenti meno recenti
Hi, I'm trying to create an undirected graph from my adjacency matrix. This is my code:
undirected_graph=graph(undirected_network);
The error I receive is the following one:
Error using digraph/subsref (line 8)
Unsupported graph indexing.
The adjacency matrix is symmetric (I tested it with the function issymmetric) and its diagonal values are all zero (the graph has no loops).
1 Commento
Stephan
il 24 Nov 2020
could you provide the matrix?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Undirected Graphs in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!