Compute the Entropy of an entered text string

Computes the entropy of a user entered string.
1,1K téléchargements
Mise à jour 24 sept. 2012

Afficher la licence

To compute Entropy the frequency of occurrence of each character must be found out.
The probability of occurrence of each character can therefore be found out by dividing each character frequency value by the length of the string message.

Using the mathematical definition of Entropy,the entropy of the string can be calculated.

Citation pour cette source

Cavin Dsouza (2024). Compute the Entropy of an entered text string (https://www.mathworks.com/matlabcentral/fileexchange/38295-compute-the-entropy-of-an-entered-text-string), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings 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