Scilab Function
Last update : 5/9/2006

ws_c - Calculate the expected cluster coefficient for WS small world

### Calling Sequence

  `cb = ws_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 rewiring edges. Note K is even here.

### Examples

       cb=ws_c(4,0.1)

### See Also

`ba_c` ,

### Authors

  Wubo