using of ss2tf command

조회 수: 5(최근 30일)
bhanu kiran vandrangi
bhanu kiran vandrangi 2021년 7월 26일
답변: 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 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개)




Community Treasure Hunt

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

Start Hunting!

Translated by