Documentation Center

  • Trial Software
  • Product Updates

Impulse Response

The impulse response of a digital filter is the output arising from the unit impulse sequence defined as

You can generate an impulse sequence a number of ways; one straightforward way is

imp = [1; zeros(49,1)];

The impulse response of the simple filter b = 1 and a = [1 -0.9] is

h = filter(b,a,imp);

A simple way to display the impulse response is with the Filter Visualization Tool (fvtool):


Then click the Impulse Response button on the toolbar or select Analysis > Impulse Response. This plot shows the exponential decay h(n) = 0.9n of the single pole system:

Was this topic helpful?