Generating adjacency matrix for an un-directed graph
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to generate an adjacency matrix for an un-directed graph. I m new to matlab can someone help
댓글 수: 0
채택된 답변
Steven Lord
2016년 3월 16일
Are you using a graph object? If so, call adjacency on it. If instead you just have a list of edges, take a look at the functions sparse or accumarray.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Undirected Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!