From b752bc3afece0518a3a096bb88be7cb3f82acee1 Mon Sep 17 00:00:00 2001 From: Peter LeVasseur Date: Thu, 20 Jul 2017 15:34:41 -0400 Subject: [PATCH] In Introduction to Designing a Filter updated to use the temp_change variable when setting up the process model. --- 04-One-Dimensional-Kalman-Filters.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/04-One-Dimensional-Kalman-Filters.ipynb b/04-One-Dimensional-Kalman-Filters.ipynb index 8b336e3..305b844 100644 --- a/04-One-Dimensional-Kalman-Filters.ipynb +++ b/04-One-Dimensional-Kalman-Filters.ipynb @@ -1639,9 +1639,10 @@ "voltage_std = .13\n", "process_var = .05**2\n", "actual_voltage = 16.3\n", + "dt = 1. # time step in seconds\n", "\n", "x = (25, 1000) # initial state\n", - "process_model = (0., process_var)\n", + "process_model = (temp_change*dt, process_var)\n", "\n", "N = 50\n", "zs = [volt(actual_voltage, voltage_std) for i in range(N)]\n",