Finding the number of edges per each node in a graph

8 visualizaciones (últimos 30 días)
L'O.G.
L'O.G. el 3 de Abr. de 2022
Respondida: Akira Agata el 3 de Abr. de 2022
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)

Respuesta aceptada

Akira Agata
Akira Agata el 3 de Abr. de 2022
Please reffer to the degree function.

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by