From 1d1866d00d48c0ab895a766dc17b3cc807d44f50 Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Thu, 12 Mar 2015 18:35:08 -0700 Subject: [PATCH] Fixed equation for update covariance. Equation for P at the end of the chapter was wrong. The equation in code is correct, I just made a mistake in the LaTex. --- 06_Multivariate_Kalman_Filters.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_Multivariate_Kalman_Filters.ipynb b/06_Multivariate_Kalman_Filters.ipynb index 2ee595c..8589664 100644 --- a/06_Multivariate_Kalman_Filters.ipynb +++ b/06_Multivariate_Kalman_Filters.ipynb @@ -34587,7 +34587,7 @@ "\n", "it implements the somewhat more complicated form \n", "\n", - "$$\\mathbf{P} = (\\mathbf{I} - \\mathbf{KH})\\mathbf{P}^-(\\mathbf{I} - \\mathbf{KRK})^\\mathsf{T} + \\mathbf{KRK}^\\mathsf{T}$$.\n", + "$$\\mathbf{P} = (\\mathbf{I} - \\mathbf{KH})\\mathbf{P}^-(\\mathbf{I} - \\mathbf{KH})^\\mathsf{T} + \\mathbf{KRK}^\\mathsf{T}$$.\n", "\n", "The reason for this altered equation is that it is more numerically stable than the former equation, at the cost of being a bit more expensive to compute. It is not always possible to find the optimal value for $\\text{K}$, in which case the former equation will not produce good results because it assumes optimality. The longer reformulation used in the code is derived from more general math that does not assume optimality, and hence provides good results for non-optimal filters (such as when we can not correctly model our measurement error).\n", "\n",