Finding the number of edges per each node in a graph

9 ビュー (過去 30 日間)
L'O.G.
L'O.G. 2022 年 4 月 3 日
回答済み: Akira Agata 2022 年 4 月 3 日
How do you find the number of edges per each node in an undirected graph? The following isn't quite what I want as it double counts and lists the nodes.
[sOut,tOut] = findedge(graph)

採用された回答

Akira Agata
Akira Agata 2022 年 4 月 3 日
Please reffer to the degree function.

その他の回答 (0 件)

カテゴリ

Find more on Graph and Network Algorithms in Help Center and File Exchange

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by