Signal Processing Toolbox Previous page   Next Page
dfilt.df2sos

Discrete-time, second-order section, direct-form II filter

Syntax

Description

Hd = dfilt.df2sos(s) returns a discrete-time, second-order section, direct-form II filter, Hd, with coefficients given in the s matrix.

Hd = dfilt.df2sos(b1,a1,b2,a2,...) returns a discrete-time, second-order section, direct-form II object, Hd, with coefficients for the first section given in the b1 and a1 vectors, for the second section given in the b2 and a2 vectors, etc.

Hd = dfilt.df2sos(...,g) includes a gain vector g. The elements of g are the gains for each section. The maximum length of g is the number of sections plus one. If g is not specified, all gains default to one.

Hd = dfilt.df2sos returns a default, discrete-time, second-order section, direct-form II filter, Hd. This filter passes the input through to the output unchanged.

The resulting filter states column vector is

For filters with more than one section, each section is a separate column in the vector.

Examples

Specify a second-order sections, direct-form II discrete-time filter with coefficients from a sixth order, low pass, elliptical filter using the following code:

See Also

dfilt, dfilt.df1sos, dfilt.df1tsos, dfilt.df2tsos


Previous page  dfilt.df2 dfilt.df2t Next page

© 1994-2005 The MathWorks, Inc.