LQR#
The optimal state-feedback gain K (u = −K x) for weights Q (states) and R (inputs), and the Riccati solution P, as matrix text. A number for Q or R is that times the identity.
lqr · control
LQRfn
K
P
A0
B1
Q1
R1
domains
Outputs#
Port |
Type |
Unit |
Components |
|---|---|---|---|
|
text |
— |
— |
|
text |
— |
— |
Parameters#
Param |
Type |
Default |
Options or unit |
|---|---|---|---|
|
text |
|
— |
|
text |
|
— |
|
text |
|
— |
|
text |
|
— |
|
enum |
|
|