Tree state space equation
조회 수: 1 (최근 30일)
이전 댓글 표시

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?
댓글 수: 0
채택된 답변
John BG
2016년 3월 1일
편집: John BG
2016년 3월 1일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Computations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!