KomuraSoft LLC
Chapter 7

Comprehensive review and comprehension check

Alternate numerical calculations and conceptual questions to confirm the flow of the 1D scalar Kalman filter end to end.

The final step is comprehensive problems. Alternate numerical calculations and conceptual questions, and walk through the flow of the 1D scalar Kalman filter end to end.

12 questions total Nothing is sent to a server Graded in-browser

How to approach the comprehensive review

Solve these in the order "first run the numbers, then judge what the settings mean." Writing intermediate steps on paper helps the hand-calculation items stick. The questions are numbered Q1〜Q12 in a single sequence.

Exercise 1 — Work through the first step end to end (Q1〜Q4)

With initial values x̂₀ = 0, P₀ = 3, Q = 1, R = 4, and the first observation z₁ = 8, follow the predict → update chain through once.

Q1. Q1: What is the predicted variance P₁⁻ = P₀ + Q?

Q2. Q2: What is the Kalman gain K₁ = P₁⁻ / (P₁⁻ + R)?

Q3. Q3: What is the updated estimate x̂₁?

Q4. Q4: What is the updated variance P₁?

Exercise 2 — Carry into the second step (Q5〜Q8)

Use the previous results x̂₁ = 4 and P₁ = 2 to process the second observation z₂ = 6.

Q1. Q5: What is the predicted variance P₂⁻?

Q2. Q6: What is the Kalman gain K₂?

Q3. Q7: What is the updated estimate x̂₂?

Q4. Q8: What is the updated variance P₂?

Exercise 3 — Judge what the settings mean (Q9〜Q12)

The final set alternates numerical calculations and conceptual questions. Make sure you can describe each setting in words.

Q1. Q9: Which combination best matches "observations are fairly good but the model is unreliable"?

Q2. Q10: Which combination produces an estimate that is "smoother but slower to follow change"?

Q3. Q11: With predicted variance P⁻ = 0.5 and observation noise R = 4, what is the Kalman gain K?

Q4. Q12: Which statement best captures the 1D scalar Kalman filter loop?

What you can do once you understand this far

Explain the division of labor between predict and update in numbers
You can explain "why we do not use observations as is" with the formulas for K and P, not as a vague impression.
Design behavior through the ratio of Q and R
You can estimate the trade-off between smoothness and responsiveness before moving the sliders.
Reconcile the simulator with the implementation
You can verify for yourself that your hand calculations, the on-screen numbers, and the code all agree.