how to calcuate the Lower bound and the Upper bound ?

Réponses (2)

Walter Roberson
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

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.
What are min() and max() of your first parameter to wentropy() ? What is your exact wentropy() call?
The file does not appear to be attached

Connectez-vous pour commenter.

Walter Roberson
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]

Tags

Aucun tag saisi pour le moment.

Question posée :

le 23 Nov 2015

Modifié(e) :

le 24 Nov 2015

Community Treasure Hunt

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

Start Hunting!

Translated by