Difference between Shannon entropy and shannon entropy from wavelet packet?
28 ビュー (過去 30 日間)
古いコメントを表示
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220235/image.png)
but in the Matlab help the formula applied is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220236/image.png)
I don't understand where does this formula come from and what's the connection with the first one.
Thanks.
3 件のコメント
Bala Amala Kannan
2020 年 1 月 10 日
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.
回答 (1 件)
John Navarro
2021 年 11 月 29 日
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)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Signal Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!