Learning Rooms/✦ Level 5 · Research Engineer/Mathematics
Optimal State Estimator | Understanding Kalman Filters, Part 3
MATLAB · Length: see YouTube · captions on YouTube · nothing loads until you press play
By the end you can…
- Multiply a normal prior by a normal likelihood to get a normal posterior.
- Compute the posterior mean as a precision-weighted average and the posterior variance.
- Recognise the update as the measurement step of a Kalman filter.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
Prior N(20, 3²) and measurement 24 with σ = 2. The posterior mean is…
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute. It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
The fusion diagram plots two normal curves and their optimal combination; the readout states the fused mean and σ, which equal the posterior here (22.77 m and 1.66 m for the suggested values).
3.Watch, actively
Shows the Kalman filter as the product of two probability distributions, the prediction and the measurement, which is exactly our inverse-variance derivation.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Watch for the moment the prediction and measurement distributions are multiplied: the product is narrower than either.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
When a prediction and a measurement each have a normal uncertainty, multiplying the two distributions gives a new normal one. Its mean is a weighted average leaning towards the more certain source, and its variance is smaller than either: the heart of the Kalman update.
What the video covers (our own note, written when we verified it): Shows the Kalman filter as the product of two probability distributions, the prediction and the measurement, which is exactly our inverse-variance derivation.
Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.
Read it instead
- Lesson: The conjugate normal update · The full lesson explains the idea in text, worked examples and diagrams, with no video needed.
- Engineering Atlas: Bayesian estimation · A rover that updates its belief about where it is after every camera frame is running Bayesian estimation.
- Field Guide: Odometry · A short reference entry on the same idea.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1 · a fresh version every time
Prior belief about a crater's distance: normal, mean 10 m, σ₀ = 6 m. A lidar measurement reads z = 6 m with σ = 1 m. What is the posterior mean, in metres?
Practice 2
If the measurement is far noisier than the prior (σ ≫ σ₀), the update…
Practice 3
Prior variance 6 m², measurement variance 2 m². What is K?
Practice 4
Prior σ₀ = 4 m, measurement σ = 3 m. What is the posterior σ, in m?
5.Try it yourself
No simulation models this idea yet. The lesson below has an interactive diagram instead.
6.Where engineers use it
Spacecraft orbit determination folds each new radio-tracking pass into the existing orbit estimate this way (in many dimensions): the covariance shrinks with every pass.
From the applied view in the lesson The conjugate normal update. Checked by automated tests only.
7.Build something with it
Follow-up project
A rover's prior on a landmark distance is N(15, 2²). Three independent lidar readings arrive: 16.1, 15.7, 16.4 m, each σ = 1 m. Update one at a time, then all at once using their mean (σ = 1/√3). Show both routes agree.
Where this video lives
- The conjugate normal update · Level 5, week 13
In the course catalogue: AIP-510 Bayesian estimation and sensor fusion
The video is by MATLAB, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.