Create functions for renyi & shannon entropy?

5 visualizaciones (últimos 30 días)
mohammed aljanabi
mohammed aljanabi el 14 de Jun. de 2016
Comentada: Mustefa Bedri el 17 de Oct. de 2021
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 comentario
mohammed aljanabi
mohammed aljanabi el 14 de Jun. de 2016
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

Iniciar sesión para comentar.

Respuesta aceptada

Alexander Andreychenko
Alexander Andreychenko el 14 de Jun. de 2016
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 comentarios
mohammed aljanabi
mohammed aljanabi el 14 de Jun. de 2016
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 el 17 de Oct. de 2021
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre App Building en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by