<< slicot_ab07nd | Subroutine Library In COntrol Theory | slicot_ag08bd >> |
[NU, RANK, DINFZ, NKROR, NKROL, INFZ, KRONR, KRONL, AF, BF, INFO] = slicot_ab08nd(EQUIL, N, M, P, A, B, C, D, TOL) |
'S': Perform balancing (scaling) or 'N': Do not perform balancing.
The number of state variables, i.e., the order of the matrix A.
The number of system inputs.
The number of system outputs.
The leading N-by-N part of this array must contain the state dynamics matrix A of the system.
The leading N-by-M part of this array must contain the input/state matrix B of the system.
The leading P-by-N part of this array must contain the state/output matrix C of the system.
The leading P-by-M part of this array must contain the direct transmission matrix D of the system.
A tolerance used in rank decisions.
The number of (finite) invariant zeros.
The normal rank of the transfer function matrix.
The maximum degree of infinite elementary divisors.
The number of right Kronecker indices.
The number of left Kronecker indices.
The leading DINFZ elements of INFZ contain information on the infinite elementary divisors as follows: the system has INFZ(i) infinite elementary divisors of degree i, where i = 1,2,...,DINFZ.
The leading NKROR elements of this array contain the right Kronecker (column) indices.
The leading NKROL elements of this array contain the left Kronecker (row) indices.
The leading NU-by-NU part of this array contains the coefficient matrix A of the reduced pencil.
The leading NU-by-NU part of this array contains the coefficient matrix B of the reduced pencil.
0: successful exit; if INFO = -i, the i-th argument had an illegal value.
To construct for a linear multivariable system described by a state-space model (A,B,C,D) a regular pencil (A - lambda*B ) which has the invariant zeros of the system as generalized eigenvalues.
The routine also computes the orders of the infinite zeros and the right and left Kronecker indices of the system (A,B,C,D).
N = 6;
M = 2;
P = 3;
TOL = 0.0;
EQUIL = 'N';
%=============================================================================
A = [1.0 0.0 0.0 0.0 0.0 0.0;
0.0 1.0 0.0 0.0 0.0 0.0;
0.0 0.0 3.0 0.0 0.0 0.0;
0.0 0.0 0.0 -4.0 0.0 0.0;
0.0 0.0 0.0 0.0 -1.0 0.0;
0.0 0.0 0.0 0.0 0.0 3.0];
%=============================================================================
B = [0.0 -1.0;
-1.0 0.0;
1.0 -1.0;
0.0 0.0;
0.0 1.0;
-1.0 -1.0];
%=============================================================================
C = [1.0 0.0 0.0 1.0 0.0 0.0;
0.0 1.0 0.0 1.0 0.0 1.0;
0.0 0.0 1.0 0.0 0.0 1.0];
D = [0.0 0.0;
0.0 0.0;
0.0 0.0];
%=============================================================================
% Check the observability and compute the ordered set of the observability indices (call the routine with M = 0).
[NU, RANK, DINFZ, NKROR, NKROL, INFZ, KRONR, KRONL, AF, BF, INFO] = slicot_ab08nd(EQUIL, N, 0, P, A, B, C, D, TOL)
% Check the controllability and compute the ordered set of the controllability indices (call the routine with P = 0)
[NU, RANK, DINFZ, NKROR, NKROL, INFZ, KRONR, KRONL, AF, BF, INFO] = slicot_ab08nd(EQUIL, N, M, 0, A, B, C, D, TOL)
% Compute the structural invariants of the given system.
[NU, RANK, DINFZ, NKROR, NKROL, INFZ, KRONR, KRONL, AF, BF, INFO] = slicot_ab08nd(EQUIL, N, M, P, A, B, C, D, TOL)
Version | Description |
---|---|
1.0.0 | initial version |
SLICOT Documentation