Daubechies 4 (db4) Wavelet Function
- Daubechies 4 wavelet is a compactly supported, orthonormal function with two vanishing moments and a four-tap FIR filter foundation for discrete and continuous analysis.
- Analytic approximations using inharmonic sinusoids achieve over 99.99% accuracy, eliminating the need for recursive cascade methods.
- Spline-based quadratic B-spline constructions provide explicit polynomial representations that enhance spectral analysis and enable efficient MATLAB integration.
The Daubechies 4 (db4) wavelet is a compactly supported, orthonormal wavelet constructed for discrete and continuous wavelet analysis. As a member of the Daubechies family, the db4 wavelet exhibits minimal compact support for a given number of vanishing moments and is characterized by four finite impulse response (FIR) filter coefficients. Recent advances provide both explicit analytic approximations for its waveform and a polynomial spline construction route, clarifying its core mathematical structure and facilitating efficient numerical implementation (Vermehren et al., 2015, He et al., 2015).
1. Explicit Time-Domain Approximations of db4 Wavelet and Scaling Functions
Traditional representations of compactly supported wavelets like db4 rely on recursive algorithms or filter-bank constructions. "Close Approximations for Daublets and their Spectra" (Vermehren et al., 2015) introduces closed-form, near-exact analytic representations of the db4 wavelet () and scaling function () as sums of inharmonic sinusoids:
where suffices to achieve root-mean-square fit accuracy to the cascade-defined db4 over .
db4 Wavelet Coefficients
| 1 | 0.3452 | 4.586 | -2.316 |
| 2 | 0.2783 | 3.460 | 1.413 |
| 3 | 0.3015 | 5.770 | -0.373 |
| 4 | 0.2129 | 6.960 | -4.943 |
| 5 | 0.1293 | 2.414 | -1.794 |
| 6 | 0.1120 | 8.161 | -3.225 |
| 7 | 0.0295 | 9.366 | -7.567 |
| 8 | 0.0223 | 1.372 | 1.102 |
db4 Scaling Function Coefficients
| 1 | 0.3762 | 0.672 | 0.171 |
| 2 | 0.2113 | 3.226 | -2.404 |
| 3 | 0.3900 | 1.204 | 0.939 |
| 4 | 0.0770 | 4.193 | 2.098 |
| 5 | 0.2661 | 2.384 | -1.379 |
| 6 | 0.0081 | 5.586 | -1.379 |
| 7 | 0.0226 | 8.537 | -1.184 |
| 8 | 0.0205 | 9.424 | 3.346 |
These analytic "near-daublet" forms eliminate the need for recursive cascades and provide explicit, continuous, closed-form expressions (Vermehren et al., 2015).
2. Filter-Bank Foundation: FIR Coefficients and Mask Construction
The orthonormal db4 is derived from a four-tap FIR filter defined by: The low-pass filter mask is explicitly constructed using spline-type masks and Lorentz polynomials (He et al., 2015): The mask , upon shifting and normalization, yields the . The associated high-pass coefficients are . These filters underpin the standard two-scale relations
ensuring compactly-supported, orthonormal bases in (He et al., 2015).
3. Inharmonic Series Model and Fitting Methodology
The analytic approximation in (Vermehren et al., 2015) leverages an "inharmonic" sum: The frequencies are non-integer multiples selected to enforce exact zero mean over the wavelet's compact support. The phases and amplitudes are determined to minimize mean-square error to the cascade-generated wavelet by nonlinear least-squares (Levenberg–Marquardt algorithm), using the FIR filter output as the regression target. This provides analytic, zero-mean, compactly-supported approximations matching discrete wavelets to within error on without repeated filtering or B-spline construction (Vermehren et al., 2015).
4. Spectral Properties and Scalogram Analysis
Fourier Transform and Spectrum
For the periodic extension, the transform is a sum of Dirac deltas: Compact support ( for db4) induces spectral convolution by a , so that the true spectrum is: This sum of shifted lobes provides a close match to the canonical db4 spectrum (Vermehren et al., 2015).
Scalogram and Frequency Localization
Time–frequency analysis via continuous scalograms shows that, despite visual smearing in 2D projections, the analytic near-daublet accurately preserves db4's known frequency-detection properties. 3D scalogram visualization resolves the correct localization of tone frequencies, confirming fidelity of the analytic approximation for applications in time–scale analysis (Vermehren et al., 2015).
5. Explicit Polynomial Representation via Spline-Type Approach
The alternative construction (He et al., 2015) uses quadratic B-splines: The scaling function can be written as a shifted linear combination of these B-splines: The wavelet then follows via the high-pass mask applied to the refinement relation. This yields explicit piecewise-cubic forms for both and , illustrating the algebraic structure behind the FIR/cascade output (He et al., 2015).
6. Key Properties, Accuracy, and Implementation
- Compact Support: Both and are supported in (filter length minus one).
- Vanishing Moments: possesses exactly two vanishing moments: for .
- Orthonormality: Translates and dilates form an orthonormal multiresolution basis for .
- Smoothness: Both functions are piecewise-cubic and Hölder-continuous with exponent .
- Approximation Accuracy: The inharmonic sum achieves better than accuracy in root-mean-square error relative to the true cascade-based db4.
- MATLAB® Integration: The and near-daublet family (
cdb4) is implemented in MATLAB’s Wavelet Toolbox, with analytic time-domain expressions providing seamless integration and display indistinguishable from standard db4 (Vermehren et al., 2015).
7. Theoretical and Practical Significance
The db4 wavelet combines FIR filter efficiency, compact support, explicit orthogonality, and sufficient regularity for signal-processing and analysis tasks. The analytic forms obtained via inharmonic sums and spline masks facilitate hardware synthesis, explicit spectral analysis, and rapid computation. The connection between the FIR/cascade and spline constructions illuminates the algebraic and analytic foundations of Daubechies' original framework. These representations support both rigorous theoretical investigations and practical applications in wavelet-based systems, such as wavelet OFDM or time–frequency analysis (Vermehren et al., 2015, He et al., 2015).