Deriving the time-domain response of an equation, from a tf

169 views (last 30 days)
So I have the code to create a transfer function, from which you can get the graph of the step response:
G = tf([1], [1 0.9 5]);
Easy. However I can't find a way to perform an inverse Laplace transform on G, to get an actual equation.

Answers (1)

Benjamin Großmann
Benjamin Großmann on 24 Apr 2018
Edited: Benjamin Großmann on 24 Apr 2018
Try ilaplace. Before that you have to convert the tf object to sym object (from here ):
G = tf([1], [1 0.9 5]);
[num,den] = tfdata(G);
syms s
G_sym = poly2sym(cell2mat(num),s)/poly2sym(cell2mat(den),s)
You have to multiply the input in laplace domain to the transfer function to get the system response to a specific input in time domain:
Y_lap_sym = G_sym/s; % U(s) = 1/s for the unit step
y_time_sym = ilaplace(Y_lap_sym);

Sign in to comment.



Community Treasure Hunt

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

Start Hunting!