Navigation

Operators and Keywords

Function List:

C++ API

Function File: mutualinfo_seq (seq_x, seq_y)

Calculates mutual information of the sequences x and y: I(X;Y) = H(X) - H(X|Y) = H(Y) - H(Y|X) = I(Y;X)

                   X=[1, 1, 2, 1, 1];
                   Y=[2, 2, 1, 1, 2];
                   mutualinfo_seq(X,Y)
See also: infoentr_seq