% -*- 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}