Skip to content

Commit 2d2c77d

Browse files
committed
doc: debug math equations
1 parent 29e6740 commit 2d2c77d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/estimator/execute.jl

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,22 @@ Extended Help for details on ``\mathbf{û_0, f̂}`` and ``\mathbf{ĥ}`` implem
3939
the augmented model functions are:
4040
```math
4141
\begin{aligned}
42-
\mathbf{f̂}\Big(\mathbf{x̂_0}(k), \mathbf{u_0}(k), \mathbf{d_0}(k)\Big) &= \begin{bmatrix}
43-
\mathbf{f}\Big(\mathbf{x_0}(k), \mathbf{û_0}(k), \mathbf{d_0}(k), \mathbf{p}\Big) \\
44-
\mathbf{A_s} \mathbf{x_s}(k)
45-
\end{bmatrix}
46-
\mathbf{ĥ}\Big(\mathbf{x̂_0}(k), \mathbf{d_0}(k)\Big) &=
47-
\begin{aligned}
48-
\mathbf{h}\Big(\mathbf{x_0}(k), \mathbf{d_0}(k), \mathbf{p}\Big) + \mathbf{y_{s_y}}(k) \\
49-
\mathbf{h}\Big(\mathbf{x_0}(k), \mathbf{d_0}(k), \mathbf{p}\Big) + \mathbf{C_{s_y} x_s}(k)
42+
\mathbf{f̂}\Big(\mathbf{x̂_0}(k), \mathbf{u_0}(k), \mathbf{d_0}(k)\Big) &= \begin{bmatrix}
43+
\mathbf{f}\Big(\mathbf{x_0}(k), \mathbf{û_0}(k), \mathbf{d_0}(k), \mathbf{p}\Big) \\
44+
\mathbf{A_s} \mathbf{x_s}(k) \end{bmatrix} \\
45+
\mathbf{ĥ}\Big(\mathbf{x̂_0}(k), \mathbf{d_0}(k)\Big) &=
46+
\mathbf{h}\Big(\mathbf{x_0}(k), \mathbf{d_0}(k), \mathbf{p}\Big) + \mathbf{y_{s_y}}(k)
5047
\end{aligned}
51-
and the disturbed input is:
48+
```
49+
in which:
5250
```math
5351
\begin{aligned}
54-
\mathbf{û_0}(k) &= \mathbf{u_0}(k) + \mathbf{y_{s_u}(k)}
55-
&= \mathbf{u_0}(k) + \mathbf{C_{s_u} x_s}(k)
52+
\mathbf{û_0}(k) &= \mathbf{u_0}(k) + \mathbf{y_{s_u}(k)} \\
53+
\mathbf{y_{s_u}}(k) &= \mathbf{C_{s_u} x_s}(k) \\
54+
\mathbf{y_{s_y}}(k) &= \mathbf{C_{s_y} x_s}(k)
5655
\end{aligned}
5756
```
58-
The ``\mathbf{f}`` and ``\mathbf{h}`` functions above are in fact [`f!`](@ref) and
57+
The ``\mathbf{f}`` and ``\mathbf{h}`` functions above are in fact the [`f!`](@ref) and
5958
[`h!`](@ref) methods, respectively.
6059
"""
6160
function f̂!(x̂0next, û0, k0, estim::StateEstimator, model::SimModel, x̂0, u0, d0)

0 commit comments

Comments
 (0)