필터 지우기
필터 지우기

how does the command "nd2sys"work ?

조회 수: 10 (최근 30일)
dipan
dipan 2012년 2월 23일
편집: Ray Huang 2017년 5월 8일
Hi, I am trying to make the generalized plant for a Hinfinity control problem. In one of the examples I see that "nd2sys" is used to convert a transfer function ([num],[den]) into a [A B; C D] like state space form called the System Matrix. Could anyone provide an explanation of how this function works because it also adds an extra row and column in the matrix which I cant figure out why ?
thanks, dipan

답변 (1개)

Ray Huang
Ray Huang 2017년 5월 8일
편집: Ray Huang 2017년 5월 8일
The extra row and column are added for the data structure information. The -inf in the bottom right means the matrix is a SYSTEM matrix. The number in the top right denotes the number of system state. That is, no matter which function you use, if the function output is SYSTEM matrix, there will always have extra row and column.
For example, if we have a system y=(1/s)*u, then we can get the state-space model x'=Ax+Bu y=Cx+Du where A=0,B=1,C=1,D=0. It is easy to see that the model only have one system state, and the result of "nd2sys" should be [A B 1;C D 0;0 0 -Inf]

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by