Skip to content

Commit 9898daf

Browse files
authored
Merge pull request AtsushiSakai#280 from yoneken/fix-kalman_basic
[Kalman Basics] Align some subscripts on the text to follow the code
2 parents 81ddb1f + c6c0a61 commit 9898daf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Localization/Kalmanfilter_basics.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,14 @@
354354
"\n",
355355
"Here for the numerator, $P(Z \\mid X),P(X)$ both are gaussian.\n",
356356
"\n",
357-
"$N(\\bar\\mu, \\bar\\sigma^1)$ and $N(\\bar\\mu, \\bar\\sigma^2)$ are their mean and variances.\n",
357+
"$N(\\mu_1, \\sigma_1^2)$ and $N(\\mu_2, \\sigma_2^2)$ are their mean and variances.\n",
358358
"\n",
359359
"New mean is \n",
360360
"\n",
361-
"$$\\mu_\\mathtt{new} = \\frac{\\sigma_z^2\\bar\\mu + \\bar\\sigma^2z}{\\bar\\sigma^2+\\sigma_z^2}$$\n",
361+
"$$\\mu_\\mathtt{new} = \\frac{\\mu_1 \\sigma_2^2 + \\mu_2 \\sigma_1^2}{\\sigma_1^2+\\sigma_2^2}$$\n",
362362
"New variance is\n",
363363
"$$\n",
364-
"\\sigma_\\mathtt{new} = \\frac{\\sigma_z^2\\bar\\sigma^2}{\\bar\\sigma^2+\\sigma_z^2}\n",
364+
"\\sigma_\\mathtt{new} = \\frac{\\sigma_1^2\\sigma_2^2}{\\sigma_1^2+\\sigma_2^2}\n",
365365
"$$"
366366
]
367367
},
@@ -759,4 +759,4 @@
759759
},
760760
"nbformat": 4,
761761
"nbformat_minor": 2
762-
}
762+
}

0 commit comments

Comments
 (0)