Generating adjacency matrix for an un-directed graph

3 Ansichten (letzte 30 Tage)
Christy Jackson
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

Akzeptierte Antwort

Steven Lord
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.
  1 Kommentar
Christy Jackson
Christy Jackson am 17 Mär. 2016
Thanks Steven Lord. If i had to plot some points on a cartesian graph and convert that to an adjacency matrix, how do i go about it?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by