constructing an adjacency list from incidence matrix

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!

Más respuestas (0)

Categorías

Más información sobre Networks en Centro de ayuda y File Exchange.

Preguntada:

Lou
el 6 de Ag. de 2015

Respondida:

el 6 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by