lqr
Control Systems
Continuous-time Linear Quadratic Regulator. Solves the algebraic Riccati equation via matrix sign function iteration and returns the optimal gain K, Riccati solution S=P, and closed-loop eigenvalues e.
Syntax
[K, S, e] = lqr(A, B, Q, R)
Examples
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab