Function Reference
Initialisation | Evolution | Statistics | Data Management
 
Introduction
RBN Overview
Using the Toolbox
Function Reference
Research/Gallery
Download
Literature/Links
Contact
 

 

 

 

 

 
 
 
 


entropy()

Calculate the entropy of the system ([SP3]). Indicator for the diversity of the rules in the network.

Syntax

H = entropy(rulesMatrix)

Description

entropy(rulesMatrix) calculates the entropy by inspection of the rulesMatrix

Input:
rulesMatrix - 2^k x n matrix containing transition logic rules for each node

Output: 
H - Normalized Entropy [0,1]

Example

>> [node, conn, rule] = bsn(20,2,'line');
>> entropy(rule)
ans = 0.7656

 

 

 
 
 
      Christian Schwarzer - EPFL