Filter löschen
Filter löschen

constructing an adjacency list from incidence matrix

2 Ansichten (letzte 30 Tage)
Lou
Lou am 6 Aug. 2015
Beantwortet: Stalin Samuel am 6 Aug. 2015
I have a directed graph with an incidence matrix like this:
AP=[1,0,0,0,0,0,0,0;-1,0,1,1,1,0,0,0;0,0,-1,0,0,1,0,0;0,0,0,-1,0,0,0,0;0,0,0,0,-1,0,0,0;0,0,0,0,0,-1,0,0]
AP =
1 0 0 0 0 0 0 0
-1 0 1 1 1 0 0 0
0 0 -1 0 0 1 0 0
0 0 0 -1 0 0 0 0
0 0 0 0 -1 0 0 0
0 0 0 0 0 -1 0 0
How can I construct an adjacency list with this information? Thank you!

Akzeptierte Antwort

Stalin Samuel
Stalin Samuel am 6 Aug. 2015

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by