State variables
![]() |
![]() |
| Vectorized | |
| in the palette | on the schematic |
The block implements the description of a multidimensional linear dynamic system in matrix form:

where A, B, C, D are matrices of: the system, input, output and bypass, respectively; x(t) is a vector of state variables (dimension [Nx]); u(t) is an input vector (dimension [Nu]); y(t) is an output vector, (dimension [Ny]).

where A, B, C, D are matrices of: the system, input, output and bypass, respectively; x(t) is a vector of state variables (dimension [Nx]); u(t) is an input vector (dimension [Nu]); y(t) is an output vector, (dimension [Ny]).
The dimension of the matrix A is [Nx×Nx];
The dimension of the matrix B is [Nu×Nx];
The dimension of the matrix C is [Nx×Ny];
The dimension of the matrix D is [Nu×Ny].
The 1st number in square brackets is the number of columns, the 2nd number is the number of rows. Mandatory сondition: Nx≥Ny. The input and output of the block are vector signals (with dimensions Nu and Ny, respectively).
Inputs
- input - input signal.
Outputs
- output - output converted signal.
Properties
- Number of state variables – Nx;
- Number of input influences – Nu;
- Number of outputs – Ny;
- Matrix A(Nx*Nx);
- Matrix B(Nu*Nx);
- Matrix C(Nx*Ny);
- Matrix D(Nu*Ny);
- Initial conditions (Nx) – vector of initial conditions, dimension Nx.
Parameters
- Dynamic variables - internal block condition variables;
- Derivatives - internal block condition variables.

