MATLAB Answers

How to generate all possible connection with graph theory function

17 views (last 30 days)
RAHUL KUMAR
RAHUL KUMAR on 24 Jan 2020 at 6:11
Edited: RAHUL KUMAR on 25 Jan 2020 at 17:51
A=[0 1 1 1;0 0 1 1;0 1 0 1;0 1 1 0];
G=digraph(A);
plot(G)
I want to store/generate all possible connection like 1-2-3-4,1-3-2-4,1-4-2-3, plot1.JPG

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by