Create functions for renyi & shannon entropy?

4 ビュー (過去 30 日間)
mohammed aljanabi
mohammed aljanabi 2016 年 6 月 14 日
コメント済み: Mustefa Bedri 2021 年 10 月 17 日
How to create a function for the Renyi and Shannon formulas?
RENYI=(1/1-alpha).* log2(sum(q .^alpha))
SHANNON=-(sum (q .* log2 (q)))
  1 件のコメント
mohammed aljanabi
mohammed aljanabi 2016 年 6 月 14 日
thanks for your reply I just want to create functions for these formulas then call it to my program and for alpha>=0 & alpha!= 1 to avoid zero and for q is probability between 0 and 1

サインインしてコメントする。

採用された回答

Alexander Andreychenko
Alexander Andreychenko 2016 年 6 月 14 日
Could you please specify for what kind of distributions do you want to compute that (continuous, discrete)? What is the nature of the state space of the distributions? How do you treat possible 0 values in logarithm?
  2 件のコメント
mohammed aljanabi
mohammed aljanabi 2016 年 6 月 14 日
thanks for your reply I just want to create functions for these formulas then call it to my program and for alpha>=0 & alpha!= 1 to avoid zero and for q is probability between 0 and 1
Mustefa Bedri
Mustefa Bedri 2021 年 10 月 17 日
Please Alexander Andreychenko i need your help on "entropy based spectrum sensing for cognitive radio network". please if you can help me i am doing my thesis on that.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeApp Building についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by