| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ Optimization/ C62x DSP Library
The Real IIR block filters a real input signal X using a real autoregressive moving-average (ARMA) IIR Filter. This filter is implemented using a direct form I structure.
There must be five AR coefficients and five MA coefficients. The first AR coefficient is always assumed to be one. Inputs, coefficients, and output are Q.15 data types.
The Real IIR block supports discrete sample times and supports little-endian code generation only.

Specify the source of the filter coefficients:
Specify via dialog — Enter the coefficients in the MA (numerator) coefficients and AR (denominator) coefficients parameters in the dialog
Input ports — Accept the coefficients from ports MA and AR
Designate the moving-average coefficients of the filter in vector format. There must be five MA coefficients. This parameter is only visible when Specify via dialog is selected for the Coefficient sources parameter. This parameter is tunable in simulation.
Designate the autoregressive coefficients of the filter in vector format. There must be five AR coefficients, however the first AR coefficient is assumed to be equal to one. This parameter is only visible when Specify via dialog is selected for the Coefficient sources parameter. This parameter is tunable in simulation.
If the input state initial conditions are
All the same, you need only enter a scalar.
Different within channels but the same across channels, enter a vector containing the input state initial conditions for one channel. The length of this vector must be four.
Different across channels, enter a matrix containing all input state initial conditions. This matrix must have four rows.
If the output state initial conditions are
All the same, you need only enter a scalar.
Different within channels but the same across channels, enter a vector containing the output state initial conditions for one channel. The length of this vector must be four.
Different across channels, enter a matrix containing all output state initial conditions. This matrix must have four rows.
Process input signal as frames or samples
Columns as channels (frame based) — Process the input signal as frames. Each frame contains a group of sequential data samples. To perform frame-based processing, you must have a DSP System Toolbox license.
Elements as channels (sample based) — Process the input signal as individual data samples.
Inherited (this choice will be removed — see release notes) — Use the frame status attribute of the input signal to determine whether to process the input as frames or samples.
When you load an existing model in R2011a, the software sets this parameter to Inherited (this choice will be removed - see release notes). Selecting this option allows you to continue working with your model until you upgrade. Upgrade your model using the slupdate function as soon as possible.
Note For more information about this option, see Changes to Frame-Based Processing |
In simulation, the Real IIR block is equivalent to the TMS320C62x DSP Library assembly code function DSP_iir. During code generation, this block calls the DSP_iir routine to produce optimized code.
C62xReal Forward Lattice All-Pole IIR

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |