Generating adjacency matrix for an un-directed graph
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Christy Jackson
le 16 Mar 2016
Commenté : Christy Jackson
le 17 Mar 2016
I need to generate an adjacency matrix for an un-directed graph. I m new to matlab can someone help
0 commentaires
Réponse acceptée
Steven Lord
le 16 Mar 2016
Are you using a graph object? If so, call adjacency on it. If instead you just have a list of edges, take a look at the functions sparse or accumarray.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Undirected Graphs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!