Compute the Entropy of an entered text string
バージョン 1.0.0.0 (1.26 KB) 作成者:
Cavin Dsouza
Computes the entropy of a user entered string.
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.
引用
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. 取得済み .
MATLAB リリースの互換性
作成:
R2008a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Characters and Strings についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |