Documentation

This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dfilt.df1tsos

Discrete-time, second-order section, direct-form I transposed filter

Syntax

`Hd = dfilt.df1tsos(s)Hd = dfilt.df1tsos(b1,a1,b2,a2,...)Hd = dfilt.df1tsos(...,g)Hd = dfilt.df1tsos`

Description

`Hd = dfilt.df1tsos(s)` returns a discrete-time, second-order section, direct-form I, transposed filter, `Hd`, with coefficients given in the `s` matrix. The filter states for this object are stored in a `filtstates` object.

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

 Note   The leading coefficient of the denominator `a(1)` cannot be 0.

To display the filter states, use this code to access the `filtstates` object.

```Hs = Hd.states % Where Hd is the dfilt.df1 object and double (Hs) % Hs is the filtstates object ```

The matrix is

`$\left(\begin{array}{cc}zb1\left(1\right)& zb2\left(1\right)\\ zb1\left(2\right)& zb2\left(2\right)\\ za1\left(1\right)& za2\left(1\right)\\ za1\left(2\right)& za2\left(2\right)\end{array}\right)$`

Examples

Specify a second-order sections, direct-form I, transposed discrete-time filter with coefficients from a sixth order, lowpass, elliptical filter using the following code:

```[z,p,k] = ellip(6,1,60,.4); % Obtain filter coefficients [s,g] = zp2sos(z,p,k); % Convert to SOS Hd = dfilt.df1tsos(s,g) ```

See Also

Introduced before R2006a

Was this topic helpful?

Accelerate 5G Wireless Development with Hardware Testbeds

Download the white paper