Compute the adjacency matrix of a graph.
[A] = NL_G_AdjacencyMatrix(G)
Graph.
Adjacencency matrix.
NL_G_AdjacencyMatrix computes the adjacency matrix A of the graph G. By definition, the adjacency matrix of a finite graph of size N is the matrix where the non-diagonal component
rates 1 is there is an edge between the nodes
and
(0 otherwise).