MutualInformation: returns mutual information (in bits) of discrete variables 'X' and 'Y'
I = MutualInformation(X,Y);
I = calculated mutual information (in bits)
X = variable(s) to be analyzed (column vector)
Y = variable to be analyzed (column vector)
Note 1: Multiple variables may be handled jointly as columns in
Note 2: Requires the 'Entropy' and 'JointEntropy' functions.
Will Dwinnell (2021). Mutual Information (https://www.mathworks.com/matlabcentral/fileexchange/28694-mutual-information), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!