Name

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

Roger Liu and Isaac Zhi

See Also

wavedec , waverec