WaveEntropy(C,L,var​argin)

Calculates shannon entropy from discrete wavelet coefficients
373 download
Aggiornato 30 mar 2016

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Discrete Multiresolution Analysis in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

changed documentation in the file
fixed division in line 56