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

Integrate wavelet function psi.

Syntax

Description

[INTEG,XVAL] = intwave('wname',PREC) returns values of the wavelet function integrals INTEG (from to XVAL values):

for x in XVAL.

The function is approximated on the 2PREC points grid XVAL, where PREC is a positive integer. 'wname' is a string containing the name of the wavelet (see wfilters).

When used with three arguments, the third one is a dummy argument.

[INTEG,XVAL] = intwave('wname',PREC,PFLAG) in addition plots INTEG on XVAL grid if PFLAG is nonzero.

[INTEG,XVAL] = intwave('wname',PREC) is equivalent to
[INTEG,XVAL] = intwave('wname',PREC,0).

[INTEG,XVAL] = intwave('wname') is equivalent to
[INTEG,XVAL] = intwave('wname',8).

intwave is used only for continuous analysis (see cwt).

Examples

Algorithm

First, the wavelet function is approximated on a grid of 2PREC points using wavefun. A piecewise constant interpolation is used in order to compute the integrals using cumsum.

See Also

wavefun

[ Previous | Help Desk | Next ]