modwpt
Maximal overlap discrete wavelet packet transform
Syntax
Description
returns
the terminal nodes for the maximal overlap discrete wavelet packet
transform (MODWPT) for the 1-D real-valued signal, wpt
= modwpt(x
)x
.
Note
The output of the MODWPT is time-delayed compared to the input signal. Most filters used to obtain the MODWPT have a nonlinear phase response, which makes compensating for the time delay difficult. This is true for all orthogonal scaling and wavelet filters, except the Haar wavelet. It is possible to time-align the coefficients with the signal features, but the result is an approximation, not an exact alignment with the original signal. The MODWPT partitions the energy among the wavelet packets at each level. The sum of the energy over all the packets equals the total energy of the input signal. The output of MODWPT is useful for applications where you want to analyze the energy levels in different packets.
The MODWPT details (modwptdetails
)
are the result of zero-phase filtering of the signal. The features
in the MODWPT details align exactly with features in the input signal.
For a given level, summing the details for each sample returns the
exact original signal. The output of the MODWPT details is useful
for applications that require time-alignment, such as nonparametric
regression analysis.
[
returns a vector of transform
levels corresponding to the rows of wpt
,packetlevs
]
= modwpt(___)wpt
.
[
returns the center frequencies
of the approximate passbands corresponding to the rows of wpt
,packetlevs
,cfreq
]
= modwpt(___)wpt
.
[
returns the energy (squared L2
norm) of the wavelet packet coefficients for the nodes in wpt
,packetlevs
,cfreq
,energy
]
= modwpt(___)wpt
.
[___] = modwpt(___,
returns
the MODWPT with additional options specified by one or more Name,Value
)Name,Value
pair
arguments.
Examples
Input Arguments
Output Arguments
Algorithms
The modwpt
performs a discrete wavelet
packet transform and produces a sequency-ordered wavelet packet tree.
Compare the sequency-ordered and normal (Paley)-ordered trees.
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] Walden, A. T., and A. Contreras Cristan. “The Phase–Corrected Undecimated Discrete Wavelet Packet Transform and Its Application to Interpreting the Timing of Events.” Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences 454, no. 1976 (August 8, 1998): 2243–66. https://doi.org/10.1098/rspa.1998.0257.
Extended Capabilities
Version History
Introduced in R2016aSee Also
imodwpt
| modwptdetails
| dwpt