Home > freetb4matlab > info-theory > relativeentropy.m

relativeentropy

PURPOSE ^

%

SYNOPSIS ^

function val=relativeentropy(p,q)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} relativeentropy (@var{p}, @var{q})
%
% Computes the relative entropy between the 2 given pdf's. 
% @code{d(@var{p} | @var{q})} is the Kullback-Leiber distance
% between 2 probability, distributions, is relative entropy. 
% Not a real measure as its not symmetric. wherever infinity is 
% present, we reduce it to zeros
% @end deftypefn
% @seealso{entropy, conditionalentropy}

CROSS-REFERENCE INFORMATION ^

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