Products & Services Solutions Academia Support User Community Company

Learn more about Signal Processing Toolbox   

Impulse Response

The impulse response of a digital filter is the output arising from the unit impulse input 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):

fvtool(b,a)

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:

  


Recommended Products

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