WaveEntropy(C,L,varargin)
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
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |
changed documentation in the file
|