User`s guide
Wavelet Analysis
5-532
Frame-Based Operation
An M
i
-by-N frame-based matrix input is treated as N independent channels,
and the block filters each channel independently over time. The input frame
size M
i
must be a multiple of 2
n
, and n is the number of filter bank levels. For
example, a frame size of 8 would be appropriate for a three-level tree (2
3
=8).
The number of columns in each output is the same as the number of columns
in the input.
Each output port has the same frame period as the input. The reduction in the
output sample rates results from the smaller output frame sizes, as shown in
the example below for a four-channel input to a three-level filter bank.
Latency
Zero Latency. The Wavelet Analysis block has no tasking latency for frame-based
operation, which is always single-rate. The block therefore analyzes the first
input sample (received at t=0) to produce the first output sample at each port.
Nonzero Latency. For sample-based operation, the Wavelet Analysis block is
multirate and has 2
n-1
samples of latency in both Simulink tasking modes. As
a result, the block repeats a zero initial condition in each channel for the first
T
si
= 1
T
so
= 2
T
so
= 4
T
so
= 8
T
so
= 8
T
fi
=1
T
si
=1/64
T
so
=1/32)
T
so
=1/16)
T
so
=1/8)
T
so
=1/8)
T
fo
= 1