Wavelet Toolbox™ Previous page   Next Page 
intwave
 Provide feedback about this page

Integrate wavelet function psi (psi)

Syntax

Description

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

for x in XVAL.

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

Output argument INTEG is a real or complex vector depending on the wavelet type.

For biorthogonal wavelets,

[INTDEC,XVAL,INTREC] = intwave('wname',PREC) computes the integrals, INTDEC and INTREC, of the wavelet decomposition function psidec and the wavelet reconstruction function psirec.

[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).

When used with three arguments intwave('wname',IN2,IN3), PREC = max(IN2,IN3) and plots are given.

When IN2 is equal to the special value 0, intwave('wname',0) is equivalent to intwave('wname',8,IN3).

intwave('wname') is equivalent to intwave('wname',8).

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

Examples

Algorithm

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

See Also
wavefun


 Provide feedback about this page 

Previous page ind2depo isnode Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS