WaveEntropy(C,L,var​argin)

Calculates shannon entropy from discrete wavelet coefficients
373 Downloads
Aktualisiert 30. Mär 2016

Lizenz anzeigen

This function, based on Rosso et al. 2001, uses dwt coefficients C and bookeeping vector L (see 'wavedec' for details) to calculate relative wavelet energy and subsequently total wavelet entropy defined as:
Etot = -sum(energy .* log(energy))
for each column in C (where each column j represents coefficients from wavelet decomposition of time series j).
In addition, the function accepts a third argument "Cref" - a cell array with each cell representing another channel of data (or time-shifted version of the original data), which will be used to calculate relative entropy as:
Erel(j,:) = -sum(Energy .* log(Energy ./ ref_energy{ j }))
N the structure of each cell must match the structure of C.

Zitieren als

Jordan Sorokin (2024). WaveEntropy(C,L,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/56248-waveentropy-c-l-varargin), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2013a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

changed documentation in the file
fixed division in line 56