Main Content

getweightmatrix (biograph)

(Removed) Get connection matrix with weights from biograph object

The function has been removed. Use adjacency instead.


[Matrix, ID] = getweightmatrix(BGObj)


BGObj Biograph object created by biograph (object constructor).


[Matrix, ID] = getweightmatrix(BGObj) converts the biograph object into a double sparse matrix, where non-zeros indicate the weight from the source node (row index) to the destination node (column index). ID is a list of the node's 'ID' property and corresponds to the rows and columns of Matrix.

Version History

Introduced in R2006b

expand all

See Also

| |