how i can find the number of state variables?

조회 수: 3 (최근 30일)
meng fowler
meng fowler 2020년 12월 15일
댓글: Sam Chak 2025년 4월 24일
Hello, I have mimo system with 13 inputs,and 4 outputs.
How I can find the number of state variables?

답변 (1개)

Altaïr
Altaïr 2025년 4월 16일
Here's a helpful image from MATLAB's documentation for a MIMO state-space system:
System Equation:
Image:
To view the image and learn more about MIMO state-space models, use the following command in the MATLAB command window:
web(fullfile(docroot, 'control/ug/mimo-state-space-models.html'))
From the image, it's clear that the number of inputs and outputs determines the number of columns in matrix B and the number of rows in matrix C, respectively. The number of states corresponds to the number of rows in A and the number of columns in C. While the inputs and outputs are fixed, there's flexibility in the number of states. Establishing a relation between inputs and outputs through the system's governing equations will help identify the minimum number of variables required to define the system completely, which are considered the states. The same reasoning also applies to a non-linear system.
For instance, consider the 6DOF (Euler Angles) block:
web(fullfile(docroot, 'aeroblks/6dofeulerangles.html'))
This block takes forces and moments as inputs and provides several variables as outputs, but has exactly 12 states (Xe, Ye, Ze, U, v, w, phi, theta, psi, p, q, r) as outlined in the State Attributes section of the documentation page.
  댓글 수: 3
Altaïr
Altaïr 2025년 4월 24일
편집: Altaïr 2025년 4월 24일
Well, the number of inputs and outputs alone does not provide enough information to determine the number of states in a system. However, if input and output data from the black-box system can be collected, System Identification techniques such as n4sid and ssest can be applied to fit a linear model, while functions like nlhw can be used for nonlinear systems. Once a model is estimated from the data, it is then possible to infer an approximate number of states present in the original black-box system.
Sam Chak
Sam Chak 2025년 4월 24일
@Altaïr, Thanks for suggesting the n4sid and ssest functions.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Control System Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by