Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Adjacency matrix .I have adjacency matrix . I want to convert it into generalise matlab code .
조회 수: 1 (최근 30일)
이전 댓글 표시
A=[0,1,1,0,0,0,0,0,1,1;1,0,1,1,0,0,0,0,0,1;1,1,0,1,1,0,0,0,0,0;0,1,1,0,1,1,0,0,0,0;0,0,1,1,0,1,1,0,0,0;0,0,0,1,1,0,1,1,0,0;0,0,0,0,1,1,0,1,1,0;
0,0,0,0,0,1,1,0,1,1;1,0,0,0,0,0,1,1,0,1;1,1,0,0,0,0,0,1,1,0]
G=graph(A)
plot(G)
댓글 수: 1
Walter Roberson
2023년 8월 13일
How does this differ from https://www.mathworks.com/matlabcentral/answers/2007927-adjacency-matrix-i-want-to-simply-the-code ?
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!