[msg, A, B, C, D] = abcdchk(a, b, c, d)
| Parameter | Description |
|---|---|
| a (n x n) | Represents the system's state-transition matrix. It describes how the system's internal state evolves over time. |
| b (n x m) | Describes the input-to-state mapping. It shows how control inputs affect the change in the system's state. |
| c (p x n) | Represents the state-to-output mapping. It shows how the system's state variables are related to the system's outputs. |
| d (p x m) | Describes the direct feedthrough from inputs to outputs. In many systems, this matrix is zero because there is no direct feedthrough. |
| Parameter | Description |
|---|---|
| msg | Returns an empty struct if matrix dimensions are consistent. Otherwise it returns the associated error message. |
| a (n x n) | Represents the system's state-transition matrix. It describes how the system's internal state evolves over time. |
| b (n x m) | Describes the input-to-state mapping. It shows how control inputs affect the change in the system's state. |
| c (p x n) | Represents the state-to-output mapping. It shows how the system's state variables are related to the system's outputs. |
| d (p x m) | Describes the direct feedthrough from inputs to outputs. In many systems, this matrix is zero because there is no direct feedthrough. |
abcdchk verify dimensional consistency of the matrices A, B, C, D, E.
It additionally adjusts the dimensions of any empty 0-by-0 matrices to ensure their alignment with the rest.
A = [0 1; -2 -3];
B = [0; 1];
C = [1 0];
D = 0;
[msg, AA, BB, CC, DD] = abcdchk(A, B, C, D)
| Version | Description |
|---|---|
| 1.0.0 | initial version |