How do I obtain the impulse response of the transfer function given below:

18 views (last 30 days)
How do I obtain the impulse response of the transfer function given below:
(s - 1)
H(S) = ------------------------------------
(s + 1) (s + 2)
num = input('enter the numerator of the transfer function')
den = input('enter the denominator of the transfer function')
impulse(num,den)
This is User Defined input problem.

Answers (1)

Aman Vyas
Aman Vyas on 23 Mar 2020
Hi,
It is clear from the question that you want to find the impulse response of transfer function.
You can proceed with either of the solution :
A) For that as soon as you have transfer function available , you can simply use ilaplace function as
ilaplace corresponds to inverse laplace which is used for converting s domain to t domian (time).
Here is the documentation link:
B) Pls check out the solution posted here as it points to your type of question:
Hope this helps resolve your issue.

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!