Dyadic analysis filter bank
The DyadicAnalysisFilterBank
object uses a
series of highpass and lowpass FIR filters to provide approximate
octave band frequency decompositions of the input. Each filter output
is downsampled by a factor of two. With the appropriate analysis filters
and tree structure, the dyadic analysis filter bank is a discrete
wavelet transform (DWT) or discrete wavelet packet transform (DWPT).
To obtain approximate octave band frequency decompositions of the input:
Define and set up your dyadic analysis filter bank. See Construction.
Call step
to get the
octave half band frequency decompositions of the input according to
the properties of dsp.DyadicAnalysisFilterBank
. The
behavior of step
is specific to each object in the
toolbox.
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System
object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
dydan = dsp.DyadicAnalysisFilterBank
constructs
a dyadic analysis filter bank object, dydan
, that
computes the leveltwo discrete wavelet transform (DWT) of a column
vector input. For a 2D matrix input, the object transforms the columns
using the Daubechies thirdorder extremal phase wavelet. The length
of the input along the first dimension must be a multiple of 4.
dydan = dsp.DyadicAnalysisFilterBank('
returns a dyadic analysis filter bank object, PropertyName
',PropertyValue
,
...)dydan
,
with each property set to the specified value.

Type of filter used in subband decomposition Specify the type of filter used to determine the high and lowpass FIR filters in the dyadic
analysis filter bank as
 

Lowpass FIR filter coefficients Specify a vector of lowpass FIR filter coefficients, in powers of
z^{1}. Use a
halfband filter that passes the frequency band stopped by the filter
specified in the  

Highpass FIR filter coefficients Specify a vector of highpass FIR filter coefficients, in powers of
z^{1}. Use a
halfband filter that passes the frequency band stopped by the filter
specified in the  

Order for orthogonal wavelets Specify the order of the wavelet selected in the  

Analysis and synthesis filter orders for biorthogonal filters Specify the order of the analysis and synthesis filter orders for biorthogonal filter banks as
 

Number of filter bank levels used in analysis (decomposition) Specify the number of filter bank analysis levels a positive integer. A levelN asymmetric structure produces N+1 output subbands. A levelN symmetric structure produces 2^{N} output subbands. The default is 2. The size of the input along the first dimension must be a multiple of 2^{N}, where N is the number of levels.  

Structure of filter bank Specify the structure of the filter bank as When this property is $${M}_{k}=\{\begin{array}{ll}\frac{M}{{2}^{k}}\hfill & 1\le k\le N\hfill \\ \frac{M}{{2}^{N}}\hfill & k=N+1\hfill \end{array}$$ Asymmetric .

reset  Reset filter states 
step  Decompose input with dyadic filter bank 
Common to All System Objects  

clone  Create System object with same property values 
getNumInputs  Expected number of inputs to a System object 
getNumOutputs  Expected number of outputs of a System object 
isLocked  Check locked states of a System object (logical) 
release  Allow System object property value changes 
This object implements the algorithm, inputs, and outputs described on the Dyadic Analysis Filter Bank block reference page. The object properties correspond to the block parameters, except:
The dyadic analysis filter bank object always concatenates
the subbands into a single column vector for a column vector input,
or into the columns of a matrix for a matrix input. This behavior
corresponds to the block's behavior when you set the Output parameter
to Single port . 