How to generate all possible connection with graph theory function
조회 수: 2 (최근 30일)
이전 댓글 표시
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268182/plot1.jpeg)
![plot1.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268182/plot1.jpeg)
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!