WaveEntropy(C,L,var​argin)

Calculates shannon entropy from discrete wavelet coefficients
373 descargas
Actualizado 30 mar 2016

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2013a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Discrete Multiresolution Analysis en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

changed documentation in the file
fixed division in line 56