Perform and display the node degree distribution of a graph.
[d,dv]=GraphDegDist(g,w)
network graph.
window label.
node degree distribution.
vector of each node degree.
GraphDegDist performs the node degree distribution d of the graph g. The degree of each network node is stored in dv. The node degree distribution is displayed in the window w.