This simple demo shows how to calculate entropy vale for variable data.
E = abs( sum( frequency(char(i)) * log2(frequency(char(i)) ) ) )
- E - information entropy
- abs( ) - absolute value
- sum( ) - sum of values
- frequency(char(i)) - frequency of character at position i