averageConnectivity()
Calculate average network connectivity.
Syntax
kav= averageConnectivity(node)
Description
averageConnectivity(node)
calculates average network connectivity over all nodes in
node.
Input:
node - 1 x n structure-array containing node information
Output:
kav - Average network connectivity
Example
>> [node, kavreal] = bnKav(12,3.5)
creates a network with N=12
nodes and an average connectivity of K=3.5. In order to check
whether the average connectivity is really K=3.5 type:
>> averageConnectivity(node)
ans = 3.5000
See also
connectivityDistribution(),
bnKav()
|