Skip to content

Commit b194da8

Browse files
committed
minor doc correction
1 parent 7912b9f commit b194da8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/controller/linmpc.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ in which the weight matrices are repeated ``H_p`` or ``H_c`` times:
8989
\mathbf{L}_{H_p} &= \text{diag}\mathbf{(L,L,...,L)}
9090
\end{aligned}
9191
```
92-
The ``\mathbf{ΔU}`` vector includes the manipulated input increments ``\mathbf{Δu}(k+j) =
93-
\mathbf{u}(k+j) - \mathbf{u}(k+j-1)`` from ``j=0`` to ``H_c-1``, the ``\mathbf{Ŷ}`` vector,
94-
the output predictions ``\mathbf{ŷ}(k+j)`` from ``j=1`` to ``H_p``, and the ``\mathbf{U}``
95-
vector, the manipulated inputs ``\mathbf{u}(k+j)`` from ``j=0`` to ``H_p-1``. See Extended
96-
Help for a detailed nomenclature.
92+
Time-varying weights over the horizons are also supported. The ``\mathbf{ΔU}`` includes the
93+
input increments ``\mathbf{Δu}(k+j) = \mathbf{u}(k+j) - \mathbf{u}(k+j-1)`` from ``j=0`` to
94+
``H_c-1``, the ``\mathbf{Ŷ}`` vector, the output predictions ``\mathbf{ŷ}(k+j)`` from
95+
``j=1`` to ``H_p``, and the ``\mathbf{U}`` vector, the manipulated inputs ``\mathbf{u}(k+j)``
96+
from ``j=0`` to ``H_p-1``. See Extended Help for a detailed nomenclature.
9797
9898
This method uses the default state estimator, a [`SteadyKalmanFilter`](@ref) with default
9999
arguments.

0 commit comments

Comments
 (0)