Signal Processing Toolbox | ![]() ![]() |
Select the Import Filter sidebar button to import filter coefficients from MATLAB workspace variables, or to enter the filter coefficients directly.
Filter Coefficients Region
Select the desired filter representation from the Filter Structure menu:
Direct form I |
Direct form II |
Direct form I transposed |
Direct form II transposed |
Direct form II (Second-order sections) |
Lattice allpass |
Lattice MA min. phase |
Lattice MA max. phase |
Lattice ARMA |
State-space |
Discrete-time filter (DFILT object) |
Quantized filter (QFILT object) -- available only when Filter Design Toolbox is installed |
The structure that you choose determines the type of coefficients that you need to specify in the Numerator and Denominator fields to the right. Follow the links above to learn more about specifying the coefficients.
Select the Sampling Frequency units from among the following options in the Units menu:
For Hz, kHz, MHz, or GHz
specify the value of the sampling frequency in the Fs field.
Direct Form
Specify the Numerator and Denominator polynomial coefficients using any valid MATLAB variable or expression. See Filter Structures for more information.
Click Clear to erase the coefficients.
Direct Form II (Second-Order Sections)
Specify the Gain and SOS Matrix using any valid MATLAB variable or expression. See Filter Structures for more information.
Click Clear to erase the coefficients.
Specify the Lattice coeff and Ladder coeff coefficients using any valid MATLAB variable or expression. See Filter Structures for more information.
Click Clear to erase the coefficients.
Specify the A, B, C, and D matrices using any valid MATLAB variable or expression. See Filter Structures for more information.
Clcik Clear to erase the matrices.
Discrete-time Filter (DFILT Object)
Specify a dfilt
object and the sampling frequency.
Click Clear to erase the data.
Quantized Filter (QFILT Object)
Specify a qfilt
object. See qfilt
in the Filter Design Toolbox for more information.
Click Clear to erase the data.
Select this button to import the specified filter coefficients.
![]() | Design Filter Button | Other Sidebar Buttons | ![]() |