Difference between Shannon entropy and shannon entropy from wavelet packet?
Show older comments
I wanted to calculate the shannon entropy of a signal and I used the command
entropia_sha(1,i)=wentropy(ventana(i,:), 'shannon');
I thought this function used the following formula:
but in the Matlab help the formula applied is:
I don't understand where does this formula come from and what's the connection with the first one.
Thanks.
3 Comments
Jyotish Kumar
on 3 Jun 2019
Hi,
I didn't find any help documents with the formula you have mentioned. Can you provide the link of the MATLAB help which you have mentioned?
Beatriz Ruiz
on 3 Jun 2019
Bala Amala Kannan
on 10 Jan 2020
You can find this formula in this literature:
https://www.spiedigitallibrary.org/journals/journal-of-biomedical-optics/volume-21/issue-9/096007/Retinal-image-quality-assessment-based-on-image-clarity-and-content/10.1117/1.JBO.21.9.096007.full?SSO=1.
In section 4.1: sharpness, this is the equation for Entropy_subband.
I don't know about the connection between these two equations.
Answers (1)
John Navarro
on 29 Nov 2021
0 votes
I would guess it is because the first equation is evaluating the Shannon entropy of the signal as a series, while the second is evaluating the entropy of the energy of the signal (energy is the square value)
Categories
Find more on Signal Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!