Scilab Function
Last update : 5/9/2006

nw_c - Calculate the expected cluster coefficient for NW small world

### Calling Sequence

  `cb = nw_c(K,P)`

### Parameters

- `K` : a real number
- `P` : a real number
- `cb` : a real number

### Description

  Calculate the expected cluster coefficient of the given WS small world. K is the average degree of the WS model, P is the probability of adding edges. Note K is even here.

### Examples

       cb=nw_c(4,0.1)

### Authors

  Wubo