Compute the Entropy of an entered text string

Computes the entropy of a user entered string.
1,1K download
Aggiornato 24 set 2012

Visualizza la licenza

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.

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2008a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0