Skip to Main Content Skip to Search
Product Documentation

dlqr - Linear-quadratic (LQ) state-feedback regulator for discrete-time state-space system

Syntax

[K,S,e] = dlqr(A,B,Q,R,N)

Description

[K,S,e] = dlqr(A,B,Q,R,N) calculates the optimal gain matrix K such that the state-feedback law

minimizes the quadratic cost function

for the discrete-time state-space mode

The default value N=0 is assumed when N is omitted.

In addition to the state-feedback gain K, dlqr returns the infinite horizon solution S of the associated discrete-time Riccati equation

and the closed-loop eigenvalues e = eig(A-B*K). Note that K is derived from S by

Limitations

The problem data must satisfy:

See Also

dare | lqgreg | lqr | lqrd | lqry

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS