DSP Blockset    
Time-Varying Direct-Form II Transpose Filter

Apply a variable IIR filter to the input.

Library

Filtering / Filter Structures

Description

The Time-Varying Direct-Form II Transpose Filter block is a version of the Direct-Form II Transpose Filter block whose filter coefficients can be updated during the simulation. The block applies a direct-form II transposed IIR filter to the top input (In).

This is a canonical form that has the minimum number of delay elements. The filter order is max(m,n)-1.

An M-by-N sample-based matrix input is treated as M*N independent channels, and an M-by-N frame-based matrix input is treated as N independent channels. In both cases, the block filters each channel independently over time, and the output has the same size and frame status as the input.

The block's two lower inputs (Num and Den) specify the filter's transfer function,

By default the filter coefficients are normalized by a1. To prevent normalization by a1, deselect the Support non-normalized filters check box.

Filter Type

The Filter type parameter specifies whether the filter is an all-zero (FIR or MA) filter, all-pole (AR) filter, or pole-zero (IIR or ARMA) filter:

For any of these designs, the coefficient vector inputs can change over time to alter the filter's response characteristics during the simulation.

Initial Conditions

In its default form, the filter initializes the internal filter states to zero, which is equivalent to assuming past inputs and outputs are zero. The block also accepts optional nonzero initial conditions for the filter delays. Note that the number of filter states (delay elements) per input channel is

The Initial conditions parameter may take one of four forms:

Filter Update Rate

In frame-based operation, the Filter update rate parameter determines how frequently the block updates the filter coefficients (i.e., how often it checks the Num and Den inputs). There are two available options:

Dialog Box

Filter type
The type of filter to apply: Pole-Zero (IIR), All-Zero (FIR), or All-Pole (AR). The Num and Den input ports are enabled or disabled as appropriate.
Initial conditions
The filter's initial conditions, a scalar, vector, or matrix.
Support non-normalized filters
Normalizes the filter by a1 when selected.
Filter update rate
The frequency with which the block updates the filter coefficients; once per sample, or once per frame.

References

Oppenheim, A. V. and R. W. Schafer. Discrete-Time Signal Processing. Englewood Cliffs, NJ: Prentice Hall, 1989.

Proakis, J. and D. Manolakis. Digital Signal Processing. 3rd ed. Englewood Cliffs, NJ: Prentice-Hall, 1996.

See Also

Discrete Filter
Simulink
Filter Realization Wizard
DSP Blockset
Direct-Form II Transpose Filter
DSP Blockset
Time-Varying Lattice Filter
DSP Blockset
filter
MATLAB

See Filter Structures for related information.


 SVD Solver Time-Varying Lattice Filter