Signal Processing Toolbox Previous page   Next Page
filtstates.dfiir

IIR Direct-form filter states

Syntax

Description

Hs = filtstates.dfiir(numstates,denstates) returns an IIR direct-form filter states object Hs with two properties--Numerator and Denominator, which contain the filter states. These two properties are column vectors with each column representing a separate channel of filter states. The number of states is always one less than the the number of filter numerator or denominator coefficients.

You can extract a filtstates object from the states property of an IIR direct-form I object with

Methods

You can use the following methods on a filtstates.dfiir object.

Method
Description
double
Converts a filtstates object to a double-precision vector containing the values of the numerator and denominator states. The numerator states are listed first in this vector, followed by the denominator states.
single
Converts a filtstates object to a single-precision vector containing the values of the numerator and denominator states. (This method is used with the Fitler Design Toolbox.)

Examples

This example demonstrates the interaction of filtstates with a dfilt.df1 object.

See Also

filtstates, dfilt, dfilt.df1, dfilt.df1t, dfilt.df1sos, dfilt.df1tsos


Previous page  filtstates fir1 Next page

© 1994-2005 The MathWorks, Inc.