Signal Processing Toolbox    
dfilt.df1sos

Construct a discrete-time, second-order section, direct form I filter object

Syntax

Description

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

Hd = dfilt.df1sos(b1,a1,b2,a2,...) returns a discrete-time, second-order section, direct form I filter 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.df1sos(...,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.df1sos returns a default, discrete-time, second-order section, direct form I filter object, Hd. This filter passes the input through to the output unchanged.

Examples

Specify a second-order section, direct form I dfilt object for a Butterworth filter converted to second-order sections, with the following code:

See Also

dfilt, dfilt.df1tsos, dfilt.df2sos, dfilt.df2tsos


  dfilt.df1 dfilt.df1t