| Products & Services | Industries | 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] = dlqr(A,B,Q,R,N)
[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
![]()
The problem data must satisfy:
The pair
is stabilizable.
and
![]()
has no unobservable mode on the
unit circle.
![]() | delayss | dlyap | ![]() |

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 |