0
\$\begingroup\$

MATLAB's impz is used to get the impulse response of a discrete time filter. freqz is used for the frequency response of a discrete time filter. freqs is used for the frequency response of a continuous time filter. But, there is no imps - how can I plot the impulse response of a continuous time filter without this?

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Have a look at the impulse function. \$\endgroup\$
    – Mario
    Commented Feb 24, 2016 at 6:20
  • \$\begingroup\$ Yep, that did it for me. You want to put that in an answer? Also mention how to get the linear system. I used the tf function. \$\endgroup\$
    – Void Star
    Commented Feb 24, 2016 at 6:52

1 Answer 1

4
\$\begingroup\$

For a continuous time system the impulse function can be used to plot the impulse response. The system can be specified using zero-pole (zpk), state-space (ss) or transfer function (tf) notation.

For example:

sys = tf[1, [1 1]);
impulse(sys);
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.