Code for shannon energy envelope?

15 visualizzazioni (ultimi 30 giorni)
Mr noobys
Mr noobys il 17 Gen 2019
Commentato: cedric Adomaya il 23 Dic 2019
hi guys
i have a pcg signal
and i want to using SHANNON ENERGY ENVELOPE for it
but i didnt find the code for it, in 'envelope' documentation there is only peak,rms and analytic function
is there any way to use the shannon energy envelope ?
shannon.PNG
thank you so much

Risposta accettata

Star Strider
Star Strider il 17 Gen 2019
Shannon energy is defined as , so use an anonymous function such as:
ShannonEnergy = @(x) x.^2 .* log(x.^2);
and then take the peak envelope.
That is what I would do.
  5 Commenti
Star Strider
Star Strider il 17 Gen 2019
As always, my pleasure!
cedric Adomaya
cedric Adomaya il 23 Dic 2019
help me with matlab.mat in this code

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by