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?

Answers (0)

Categories

Products

Asked:

on 14 May 2015

Edited:

on 14 May 2015

Community Treasure Hunt

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

Start Hunting!