Mutual Information In probability theory and information theory

Version 1.3.0.0 (14,2 KB) von Guangdi Li
Code for marginally and conditional mutual information in probability and information theory
2,8K Downloads
Aktualisiert 26. Jan 2010

Lizenz anzeigen

The definition of mutual information could resort to wiki:
http://en.wikipedia.org/wiki/Mutual_information

For marginal mutual information, we say it is :
I(A,B)=sum sum P(A,B) log[P(A,B)/P(A)P(B)]

For conditional mutual information, we say it is :
I(A,B|C)=sum sum P(A,B|C) log[P(A,B|C)/P(A|C)P(B|C)]

For mutual information matric, we say it is:
the matric saves all pairs of I(A,B)

Please refer to "ControlCentor.m", we have a simple example for you understanding. If there is any question, please let me know, i will help you as soon as possible.

PS: fast mex programming functions are provided for advance users here too

Zitieren als

Guangdi Li (2024). Mutual Information In probability theory and information theory (https://www.mathworks.com/matlabcentral/fileexchange/23274-mutual-information-in-probability-theory-and-information-theory), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Just for fun finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.3.0.0

Add mex programming functions , to improve the efficiency

1.2.0.0

I miss to add one file together, thus ..... Thanks for you help

1.1.0.0

one *.m is missed, I add it again. Thanks.

1.0.0.0