<< c2d | Control System functions | cloop >> |
[X, L, G] = care(A, B, Q) |
[X, L, G] = care(A, B, Q, R, S, E) |
Matrix representing the state with dimensions n x n, where n corresponds to the number of states.
Matrix representing control with dimensions n x p, where p is the number of inputs.
Matrix describing the cost associated with the state, having dimensions n x n, where n is the number of states.
Matrix representing the cost associated with control, with dimensions p x p, where p is the number of inputs.
Matrix that is optionally real-valued with dimensions n x p.
Matrix with dimensions n x n that serves as a descriptor matrix.
stabilized solution for the continuous-time Riccati equation of dimension n x n.
Closed-loop pole vector.
Gain matrix.
The function care(A, B, Q) calculates the exclusive solution, denoted as X, for the continuous-time algebraic Riccati equation with matrices A, B, and Q, and also provides additional matrices L and G.
a = [-3 2;1 1];
b = [0 ; 1];
c = [1 -1];
r = 3;
[x, l, g] = care(a, b, c'*c, r)
Version | Description |
---|---|
1.0.0 | initial version |
SLICOT Documentation