Draw self-loop through biograph function

Suppose I have a sparse adjacency matrix. Is there any way I can draw a self-loop through `biograph` function? Node 2 should have a self - loop. There is a warning
Warning: Self connecting nodes are not allowed, ignoring the diagonal of CM,
where CM is the matrix. Is there a way I can modify the file biograph.m, so it does not ignore diagonal elements?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

产品

提问:

2015-5-14

编辑:

2015-5-14

Community Treasure Hunt

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

Start Hunting!

Translated by