## Define wavelet

Purpose

Description

Macro Synopsis

Modules

Related Functions

References

### Purpose

Define the type of wavelet used for all wavelet operations

### Description

"Define wavelet" allows the user to specify the type and the order of wavelets
used for any of the wavelet operations.
The parameters of "Define wavelet" are

- Wavelet
`type`:
- "Daubechies" (0)

With this flag set, the filters belonging to the
Daubechies wavelet with maximum number of vanishing moments
and minimum phase are computed.
- "Spline" (1)

With this flag set, the analysis and synthesis filters
of a biorthogonal spline wavelet are computed.

- Number
`nzlp` of zeros at z=-1 in the z-plane for the lowpass analysis filter
- Number
`nzhp` of zeros at z=-1 in the z-plane for the highpass analysis and
lowpass synthesis filter (for spline wavelets only, ignored in case of Daubechies type)

Note: For spline wavelets the total no. of zeros (`nzlp` + `nzhp`)
must be even, otherwise the wavelet filters cannot be computed and an error message is displayed.

### Macro Synopsis

`DefWavelet(type,nzlp,nzhp);`

option type;

int nzlp,nzhp;

### Modules

Wavelet

### Related Functions

Load wavelet,
Save wavelet,Decompose,
Reconstruct.

### References

Daubechies [6]