Lably
Skip to content

Finite impulse response

Type of filter in signal processing

  • 8 min read
  • 5 chapters

Related on Lably

Through Convolution, Seismology and SciPy

The impulse response (that is, the output in response to a Kronecker delta input) of an Nth-order discrete-time FIR filter lasts exactly N+1 samples (from first nonzero element through last nonzero element) before it then settles to zero.

FIR filters can be discrete-time or continuous-time, and digital or analog.

Definition

For a causal discrete-time FIR filter of order N, each value of the output sequence is a weighted sum of the most recent input values:

y[n]=b0x[n]+b1x[n−1]+⋯+bNx[n−N]=∑i=0Nbi⋅x[n−i],

where:

  • x[n] is the input signal,
  • y[n] is the output signal,
  • N is the filter order; an Nth-order filter has N+1 terms on the right-hand side
  • bi is the value of the impulse response at the i'th instant for 0≤i≤N of an Nth-order FIR filter. If the filter is a direct form FIR filter then bi is also a coefficient of the filter.

This computation is also known as discrete convolution.

The x[n−i] in these terms are commonly referred to as taps, based on the structure of a tapped delay line that in many implementations or block diagrams provides the delayed inputs to the multiplication operations. One may speak of a 5th order/6-tap filter, for instance.

The impulse response of the filter as defined is nonzero over a finite duration. Including zeros, the impulse response is the infinite sequence:

h[n]=∑i=0Nbi⋅δ[n−i]={bn0≤n≤N0otherwise.

If an FIR filter is non-causal, the range of nonzero values in its impulse response can start before n=0, with the defining formula appropriately generalized.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Calculus and analysis