photo

Joe Choong


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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...

meer dan 6 jaar ago | 1 answer | 0

1

answer