Generating adjacency matrix for an un-directed graph
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Christy Jackson
am 16 Mär. 2016
Kommentiert: Christy Jackson
am 17 Mär. 2016
I need to generate an adjacency matrix for an un-directed graph. I m new to matlab can someone help
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 16 Mär. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Undirected Graphs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!