modwt
Maximal overlap discrete wavelet transform
Syntax
Description
returns the
maximal overlap discrete wavelet transform (MODWT) of w
= modwt(x
)x
.
x
can be a real- or complex-valued vector or matrix. If
x
is a matrix, modwt
operates on the
columns of x
. modwt
computes the wavelet
transform down to level floor(log2(length(x)))
if
x
is a vector and floor(log2(size(x,1)))
if x
is a matrix. By default, modwt
uses
the Daubechies least-asymmetric wavelet with four vanishing moments
('sym4'
) and periodic boundary handling.
computes the
MODWT using reflection boundary handling. Other inputs can be any of the arguments
from previous syntaxes. Before computing the wavelet transform,
w
= modwt(___,'reflection')modwt
extends the signal symmetrically at the terminal end
to twice the signal length. The number of wavelet and scaling coefficients that
modwt
returns is equal to twice the length of the input
signal. By default, the signal is extended periodically.
You must enter the entire character vector 'reflection'
. If you
added a wavelet named 'reflection'
using the wavelet manager, you
must rename that wavelet prior to using this option. 'reflection'
may be placed in any position in the input argument list after
x
.
Examples
Input Arguments
Output Arguments
Algorithms
The standard algorithm for the MODWT implements the circular convolution directly in the time domain. This implementation of the MODWT performs the circular convolution in the Fourier domain. The wavelet and scaling filter coefficients at level j are computed by taking the inverse discrete Fourier transform (DFT) of a product of DFTs. The DFTs in the product are the signal’s DFT and the DFT of the jth level wavelet or scaling filter.
Let Hk and Gk denote the length N DFTs of the MODWT wavelet and scaling filters, respectively. Let j denote the level and N denote the sample size.
The jth level wavelet filter is defined by
where
The jth level scaling filter is
where
References
[1] Percival, Donald B., and Andrew T. Walden. Wavelet Methods for Time Series Analysis. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge ; New York: Cambridge University Press, 2000.
[2] Percival, Donald B., and Harold O. Mofjeld. “Analysis of Subtidal Coastal Sea Level Fluctuations Using Wavelets.” Journal of the American Statistical Association 92, no. 439 (September 1997): 868–80. https://doi.org/10.1080/01621459.1997.10474042.
[3] Mesa, Hector. “Adapted Wavelets for Pattern Detection.” In Progress in Pattern Recognition, Image Analysis and Applications, edited by Alberto Sanfeliu and Manuel Lazo Cortés, 3773:933–44. Berlin, Heidelberg: Springer Berlin Heidelberg, 2005. https://doi.org/10.1007/11578079_96.
[4] Hess-Nielsen, N., and M.V. Wickerhauser. “Wavelets and Time-Frequency Analysis.” Proceedings of the IEEE 84, no. 4 (April 1996): 523–40. https://doi.org/10.1109/5.488698.
Extended Capabilities
Version History
Introduced in R2015b