MATLAB Answers

using of ss2tf command

4 views (last 30 days)
bhanu kiran vandrangi
bhanu kiran vandrangi on 26 Jul 2021
Answered: Paul on 27 Jul 2021
[b,a] = ss2tf(A,B,C,D,ni) returns the transfer function that results when the nith input of a system with multiple inputs is excited by a unit impulse.
this is given in mathworks site about ss2tf command
can we use the same form for unit step as it is mentioned for unit impulse(above)
A=[-0.157318 0 0.118;0 -4.561 4.5125;0.118 4.5125 -4.6387];
B=[1/176.7 0;0 1/176.7;0 0];
C=[1 0 0;0 1 0;0 0 1];
D=[0 0 ;0 0;0 0];
this is my state space model , which has two step inputs, how to convert this to TF

Accepted Answer

Paul
Paul on 27 Jul 2021
In my opinion, that statement in the documentation doesn't make sense. It should say "... returns the Laplace transform of the output that results ...." Or it should say, ".. . returns the transfer functions from the nith input to the ouputs."
Regardless, the "modern" approach would be to form an lti system object
sys = ss(A,B,C,D);
and then use functions like step() or impulse() or lsim() to get system response to inputs of interest.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!