Construct adjacency list from an edge list.

I have an edge list ; [1 2 ; 2 1 ;2 3 ;3 2; 4 5;5 4] I need to construct an adjacency list from this edge list. Output : 2; 1 3; 2; 5; 4;

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraph and Network Algorithms についてさらに検索

質問済み:

2014 年 3 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by