photo

Joe Choong


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


I've found code online to find the clustering coefficients from the adjacency matrix, and i'm trying to understand how it works. So deg and cn are column vectors, but i don't understand what cn(deg>1) or deg(deg>1) actually means. thanks
deg = sum(graph, 2); %Determine node degrees cn = diag(graph*triu(graph)*graph); %Number of triangles for each node %The loc...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort