Wavelet Toolbox
  Go to function:
    Search    Help Desk 
dwtper    Examples   See Also

Single-level discrete 1-D wavelet transform (periodized).

Syntax

Description

dwtper is a one-dimensional wavelet analysis function.

[cA,cD] = dwtper(X,'wname') computes the approximation coefficients vector cA and detail coefficients vector cD, obtained by periodized wavelet decomposition of the vector X.

'wname' is a string containing the wavelet name (see wfilters).

Instead of giving the wavelet name, you can give the filters. When used with three arguments: [cA,cD] = dwtper(X,Lo_D,Hi_D), Lo_D is the decomposition low-pass filter and Hi_D is the decomposition high-pass filter.

If lx = length(X) then length(cA) = length(cD) = ceil(lx/2).

Examples

Algorithm

The algorithm is the same as in dwt but the signal X is extended assuming periodicity. More precisely, if lx = length(X) is even, the extended signal is
extX = [X(lx-lf+1:lx) X X(1:lf)] where lf is the length of the filter. Then, usual convolution and downsampling operations are done, followed by keeping the central part of length lx/2.

See Also

dwt, idwtper

[ Previous | Help Desk | Next ]