gmish27
Member level 1
to evaluate the step response of a transfer function, say Ts, we write in matlab: step(Ts)
Mathematically this is same as multiplying the transfer function Ts with 1/s and then plotting the inverse laplace transform of (1/s)*Ts.
I am trying the same in matlab. Have a look at the code:
Ts=tf[1,[1 6 9]);
step(Ts) %step response using step function
----------------------
syms s;
Tt=ilaplace(1/(s^3+6*(s^2)+9*s)); %product of Ts and 1/s
ezplot(Tt)
----------------------
In both cases am not getting the same plot. Can anyone provide help me with an explanation/solution???
Mathematically this is same as multiplying the transfer function Ts with 1/s and then plotting the inverse laplace transform of (1/s)*Ts.
I am trying the same in matlab. Have a look at the code:
Ts=tf[1,[1 6 9]);
step(Ts) %step response using step function
----------------------
syms s;
Tt=ilaplace(1/(s^3+6*(s^2)+9*s)); %product of Ts and 1/s
ezplot(Tt)
----------------------
In both cases am not getting the same plot. Can anyone provide help me with an explanation/solution???
Last edited: