State feedback
==============
u = −K x + N r. Wire an lqr or place block's K into the K input, or type K. N empty: the identity.
``state_feedback`` · control
.. raw:: html
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``x``
- numbers
- —
- —
* - ``r``
- numbers
- —
- —
* - ``K``
- text
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``u``
- numbers
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``K``
- text
- ``"1"``
- —
* - ``N``
- text
- —
- —