Graph adjacency matrix

`A = adjacency(G)`

`A = adjacency(G,'weighted')`

`A = adjacency(G,weights)`

Edges with weight zero are not visible in the sparse adjacency matrix returned by

`adjacency`

. This means that a weighted adjacency matrix can represent a weighted graph only if there are no edges of weight zero.