The WV_FN_HAAR function constructs wavelet coefficients for the Haar wavelet function.
Note: The Haar wavelet is the same as the Daubechies wavelet of order 1.
Syntax
Result = WV_FN_HAAR( [Order, Scaling, Wavelet, Ioff, Joff] )
Return Value
The returned value of this function is an anonymous structure of information about the particular wavelet.
Tag |
Type |
Definition |
FAMILY |
STRING |
‘Haar’ |
ORDER_NAME |
STRING |
‘Order’ |
ORDER_RANGE |
INTARR(3) |
[1, 1, 1] Valid order range [first, last, default]
|
ORDER |
INT |
1 |
DISCRETE |
INT |
1 [0=continuous, 1=discrete]
|
ORTHOGONAL |
INT |
1 [0=nonorthogonal, 1=orthogonal]
|
SYMMETRIC |
INT |
0 [0=asymmetric, 1=symm., 2=near symm.]
|
SUPPORT |
INT |
1 [Compact support width]
|
MOMENTS |
INT |
1 [Number of vanishing moments]
|
REGULARITY |
DOUBLE |
0d [Number of continuous derivatives]
|
Arguments
Order
A scalar that specifies the order number for the wavelet. The default is 1.
Scaling
On output, contains a vector of double-precision scaling (father) coefficients.
Wavelet
On output, contains a vector of double-precision wavelet (mother) coefficients.
Ioff
On output, contains an integer that specifies the support offset for Scaling.
Joff
On output, contains an integer that specifies the support offset for Wavelet.
Note: If none of the above arguments are present then the function will return the Result structure using the default Order.
Keywords
None.
Version History
Resources and References
Daubechies, I., 1992: Ten Lectures on Wavelets, SIAM.
See Also
WV_DWT, WV_FN_COIFLET, WV_FN_DAUBECHIES, WV_FN_SYMLET