constructing an adjacency list from incidence matrix

2 次查看(过去 30 天)
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!

采纳的回答

Stalin Samuel
Stalin Samuel 2015-8-6

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by