using of ss2tf command

169 次查看(过去 30 天)
bhanu kiran vandrangi
回答: Paul 2021-7-27
[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

采纳的回答

Paul
Paul 2021-7-27
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dynamic System Models 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by