From fb110beeb0a72d0c4eb7b398209c20e1994796fa Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Sun, 16 Sep 2018 10:08:46 -0700 Subject: [PATCH] Github #246 Pi computed incorrectly I incorrectly used area * pts/N to comput pi,which happens to work if radius = 1, but fails otherwise. --- 04-One-Dimensional-Kalman-Filters.ipynb | 4 +++- 12-Particle-Filters.ipynb | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/04-One-Dimensional-Kalman-Filters.ipynb b/04-One-Dimensional-Kalman-Filters.ipynb index 35a75c5..1eee74c 100644 --- a/04-One-Dimensional-Kalman-Filters.ipynb +++ b/04-One-Dimensional-Kalman-Filters.ipynb @@ -542,8 +542,10 @@ ] }, { - "cell_type": "markdown", + "cell_type": "code", + "execution_count": null, "metadata": {}, + "outputs": [], "source": [ "The result of the multiplication is taller and narrow than the original Gaussian but the mean is unchanged. Does this match your intuition?\n", "\n", diff --git a/12-Particle-Filters.ipynb b/12-Particle-Filters.ipynb index 007c42a..ce31392 100644 --- a/12-Particle-Filters.ipynb +++ b/12-Particle-Filters.ipynb @@ -36,7 +36,7 @@ "