getEntropy(x,Bins)

Compute entropy of vector 'x'
65 téléchargements
Mise à jour 16 mai 2017

Afficher la licence

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)

Citation pour cette source

Ruggero G. Bettinardi (2024). getEntropy(x,Bins) (https://www.mathworks.com/matlabcentral/fileexchange/62979-getentropy-x-bins), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Histograms dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0