| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Toolbox |
| Contents | Index |
| Learn more about Signal Processing Toolbox |
Hd = dfilt.dffir(b)
Hd = dfilt.dffir
Hd = dfilt.dffir(b) returns a discrete-time, direct-form finite impulse response (FIR) filter, Hd, with numerator coefficients, b.
Hd = dfilt.dffir returns a default, discrete-time, direct-form FIR filter, Hd, with b=1. This filter passes the input through to the output unchanged.

The resulting filter states column vector is
![]()
Create a direct-form FIR discrete-time filter with coefficients from a 30th order lowpass equiripple design:
b = firpm(30,[0 .1 .2 .5]*2,[1 1 0 0]);
Hd = dfilt.dffir(b)
Hd =
FilterStructure: 'Direct-Form FIR'
Numerator: [1x31 double]
PersistentMemory: false
dfilt, dfilt.dfasymfir, dfilt.dffirt, dfilt.dfsymfir
![]() | dfilt.dfasymfir | dfilt.dffirt | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |