entropy, joint entropy and conditional entropy function for n variables
Version 1.0.0.0 (2.44 KB) by
Nashat Abughalieh
entropy, joint entropy for any number of variables and the conditional entropy
for entropy
H = entropy(S)
this command will evaluate the entropy of S, S should be row matrix
H = entropy([X;Y;Z])
this command will find the joint entropy for the 3 variables
H = entropy([X,Y],[Z,W])
this will find H(X,Y/Z,W).. you can use it for any combination of joint entropies
Please validate this function before using it
Cite As
Nashat Abughalieh (2026). entropy, joint entropy and conditional entropy function for n variables (https://www.mathworks.com/matlabcentral/fileexchange/24214-entropy-joint-entropy-and-conditional-entropy-function-for-n-variables), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Inverse Kinematics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
