Draw self-loop through biograph function

2 views (last 30 days)
Th Sdr
Th Sdr on 14 May 2015
Edited: Th Sdr on 14 May 2015
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)

Products

Community Treasure Hunt

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

Start Hunting!