Azzera filtri
Azzera filtri

Finding the number of edges per each node in a graph

2 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

Akira Agata
Akira Agata il 3 Apr 2022
Please reffer to the degree function.

Più risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by