Home > freetb4matlab > info-theory > mutualinfo_seq.m

mutualinfo_seq

PURPOSE ^

%

SYNOPSIS ^

function I = mutualinfo_seq(x,y)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} mutualinfo_seq (@var{seq_x}, @var{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)
%
% @example
% @group
%          X=[1, 1, 2, 1, 1];
%          Y=[2, 2, 1, 1, 2];
%          mutualinfo_seq(X,Y)
% @end group
% @end example
% @end deftypefn
% @seealso{infoentr_seq}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003