Calculates shannon entropy from discrete wavelet coefficients

ダウンロード: 372

更新 2016/3/30


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.


Jordan Sorokin (2023). WaveEntropy(C,L,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/56248-waveentropy-c-l-varargin), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
Windows macOS Linux
Help Center および MATLAB AnswersDiscrete Multiresolution Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

changed documentation in the file
fixed division in line 56