Skip to content

Commit 36877fd

Browse files
committed
doc correction
1 parent 21fb64c commit 36877fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/state_estim.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ If ``\mathbf{x_d}`` are `model.x` states, and ``\mathbf{x_s}``, the states defin
131131
returns the augmented model functions `f̂`, `ĥ` and matrices `Â`, `B̂u`, `Ĉ`, `B̂d` and `D̂d`:
132132
```math
133133
\begin{aligned}
134-
\mathbf{x}(k+1) &= \mathbf{f̂}\Big(\mathbf{}(k), \mathbf{u}(k), \mathbf{d}(k)\Big) \\
134+
\mathbf{x}(k+1) &= \mathbf{f̂}\Big(\mathbf{x}(k), \mathbf{u}(k), \mathbf{d}(k)\Big) \\
135135
&= \mathbf{Â x}(k) + \mathbf{B̂_u u}(k) + \mathbf{B̂_d d}(k) \\
136-
\mathbf{y}(k) &= \mathbf{ĥ}\Big(\mathbf{}(k), \mathbf{d}(k)\Big) \\
136+
\mathbf{y}(k) &= \mathbf{ĥ}\Big(\mathbf{x}(k), \mathbf{d}(k)\Big) \\
137137
&= \mathbf{Ĉ x}(k) + \mathbf{D̂_d d}(k)
138138
\end{aligned}
139139
```
@@ -202,7 +202,6 @@ julia> x̂ = initstate!(estim, [1], [3 - 0.1])
202202
0.0
203203
-0.10000000000000675
204204
```
205-
206205
"""
207206
function initstate!(estim::StateEstimator, u, ym, d=Float64[])
208207
model = estim.model

0 commit comments

Comments
 (0)