I am trying to model state space of the system whose equations shown at the picture,i could not figure out to how to use the command ss to model system hence ss(A,B1,B2,C1,C2,D1,D2...) is not working.is there anyway to develop state space model of such systems with matlab?

 채택된 답변

John BG
John BG 2016년 3월 1일
편집: John BG 2016년 3월 1일

0 개 추천

hawk
your system is
xdot=A*x+B1*x+B2*u
y=C2*x+D11*w+D12*u
z=C1*x+D11*w+D12*u
when you apply A, B1, .. you get the following:
xdot=A*x+B2*u
y=C2*x+D21*u
z=C1*x
note that the 3rd equation is just telling that z is proportional to x. If you ignore z, build your SS model, with
xdot=A*x+B2*u
y=C2*x+D21*u
and then calculate z out of x with z=C1*x.
Rewording, include z inside x, or as mentioned, ignore the 3rd equation, build the model, and calculate z afterwards.
If you find this answer of any help solving this question, please click on the thumbs-up vote link,
thanks in advance
John

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Computations에 대해 자세히 알아보기

질문:

2016년 3월 1일

편집:

2016년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by