How to do impulse response in MATLAB?
A simple way to display the impulse response is with the Filter Visualization Tool, fvtool . Click the Impulse Response button, [ ↑ ] , on the toolbar, select Analysis > Impulse Response from the menu, or type the following code to obtain the exponential decay of the single-pole system.
How do you get impulse response from step response in MATLAB?
I = step2impulse( S , dt ) converts a step response S to an impulse response I , given the uniform sample interval dt .