<< GraphConnex Network Topology Generator GraphDegDistWD >>

Network Topology Generator >> Network Topology Generator > GraphDegDist

GraphDegDist

Perform and display the node degree distribution of a graph.

Calling Sequence

[d,dv]=GraphDegDist(g,w)

Parameters

g :

network graph.

w :

window label.

d :

node degree distribution.

dv :

vector of each node degree.

Description

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.

Examples

n=300;//network size
l0=5;//a maximum of 5 links are created for any created node
L=1000;//network square area side 
[g,d]=NtgBarabasiAlbert(n,l0,L);//generation of the topology
show_graph(g);
w=1;//window label
[d,dv]=GraphDegDist(g,w);//application of GraphDegDist
d
dv

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< GraphConnex Network Topology Generator GraphDegDistWD >>