care
Continuous-time algebraic Riccati equation solution.
📝Syntax
[X, L, G] = care(A, B, Q)
[X, L, G] = care(A, B, Q, R, S, E)
📥Input Arguments
Parameter Description
A Matrix representing the state with dimensions n x n, where n corresponds to the number of states.
B Matrix representing control with dimensions n x p, where p is the number of inputs.
Q Matrix describing the cost associated with the state, having dimensions n x n, where n is the number of states.
R Matrix representing the cost associated with control, with dimensions p x p, where p is the number of inputs.
S Matrix that is optionally real-valued with dimensions n x p.
E Matrix with dimensions n x n that serves as a descriptor matrix.
📤Output Arguments
Parameter Description
X stabilized solution for the continuous-time Riccati equation of dimension n x n.
L Closed-loop pole vector.
G Gain matrix.
📄Description

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.

💡Examples
a = [-3 2;1 1];
b = [0 ; 1];
c = [1 -1];
r = 3;
[x, l, g] = care(a, b, c'*c, r)
🔗See Also
slicot_sb02odslicot_sg02ad
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub