| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Control System Toolbox |
| Contents | Index |
| Learn more about Control System Toolbox |
[K,S,e] = lqry(sys,Q,R,N)
Given the plant
![]()
or its discrete-time counterpart, lqry designs a state-feedback control
![]()
that minimizes the quadratic cost function with output weighting
![]()
(or its discrete-time counterpart). The function lqry is equivalent to lqr or dlqr with weighting matrices:

[K,S,e] = lqry(sys,Q,R,N)
returns the optimal gain matrix K, the Riccati
solution S, and the closed-loop eigenvalues e
= eig(A-B*K). The state-space model sys specifies
the continuous- or discrete-time plant data
. The default value N=0 is
assumed when N is omitted.
See LQG Design for the x-Axis for an example.
The data
must satisfy the requirements for lqr or dlqr.
![]() | lqrd | lsim | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |