CRP Toolbox Reference

entropy

Purpose

Entropy of a distribution.

Syntax

    e=entropy(h)

Description

Computes the entropy of the distribution h.

Examples

    x=randn(100,1);
    h=hist(x);
    entropy(h')


dl fnn