<< wcodemat discrete_wavelet_analysis wenergy2 >>

swt >> discrete_wavelet_analysis > wenergy

wenergy

Energy Statistics from multiple level decompostion

Calling Sequence

[Ea,Ed]=wenergy(c,l)

Parameters

Ea :

energy percentage of approximation coefficent

Ed :

energy percentage of detail coefficent, vector

c :

coefficent array

l :

length array

Description

wenergy is to calculate the energy percentage of approximation and detail coefficent.

Examples

x=rand(1,100);
[C,L]=wavedec(x,3,'db2');
[Ea,Ed]=wenergy(C,L);

Authors

See also


Report an issue
<< wcodemat discrete_wavelet_analysis wenergy2 >>