You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
call:
H = getEntropy(x,Bins)
Computes the entropy of the vector 'x'. Entropy is computed after
having computed the histogram of the vector, using the binning
defined by 'Bins'.
if Bins is not specified, the function use the default binning as:
Bins = linspace(min(x),max(x),sqrt(numel(x))).
INPUT
x : original vector (NOT a distribution !!!)
Bins : Binning to use to compute the histogram (optional)
OUTPUT
H : Entropy of x (a scalar)
Cite As
Ruggero G. Bettinardi (2026). getEntropy(x,Bins) (https://uk.mathworks.com/matlabcentral/fileexchange/62979-getentropy-x-bins), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.17 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
