how to calcuate the Lower bound and the Upper bound ?
Afficher commentaires plus anciens
Réponses (2)
Walter Roberson
le 23 Nov 2015
0 votes
As your data is the extracted entropy of signals, the minimum possible value is 0 (the signal is a known constant) and the maximum possible value is the maximum allowed length of the signal in bits. (For example if the maximum allowed length of the signal was 25307 bytes then the maximum possible entropy would be 25307*8 = 202456
3 commentaires
Walter Roberson
le 23 Nov 2015
Entropy cannot be negative. This is the definition of entropy. See https://en.wikipedia.org/wiki/Entropy_%28information_theory%29. In order for entropy to be negative, something would have to have probability greater than 1.
The lower bound of entropy is 0. The upper bound of entropy is number of elements of the signal times the number of bits of information in each element of the signal.
Walter Roberson
le 23 Nov 2015
What are min() and max() of your first parameter to wentropy() ? What is your exact wentropy() call?
Walter Roberson
le 23 Nov 2015
The file does not appear to be attached
Walter Roberson
le 23 Nov 2015
0 votes
You would get negative shannon entropy if any of your values are greater than 0. For shannon entropy you should be normalizing your signal range to [0,1]
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!