A Kalman filter estimates a system’s hidden state from a predictive model and noisy measurements. An example is estimating position and velocity when a sensor reports only position. The state estimate is updated as each measurement arrives.
What makes it useful?
The filter combines information at each time step without retaining the whole measurement history. A model predicts where the state is likely to be; a measurement corrects the prediction by an amount determined by their respective uncertainty. The same framework can handle several measured quantities and time-varying matrices.
When is it optimal?
- The standard recursion uses linear dynamics and measurements. The model can change with time if its matrices and covariances are known for each step.
- The state has a Markov transition, and the standard noise model assumes zero-mean, temporally uncorrelated process and measurement noise with no cross-correlation or initial-state correlation.
- With Gaussian noise and a Gaussian prior, the result is the exact conditional mean and covariance. With only suitable second-moment assumptions, interpret it as an optimal linear estimate.
From theory to practice
Kalman’s time-domain, state-space approach grew out of earlier work on least squares and Wiener and Kolmogorov filtering. It found early use in navigation. Square-root and factorized forms can improve numerical behavior; nonlinear models motivate variants such as the EKF and UKF. Large or distributed sensor systems also use decentralized fusion, though estimates should not be combined as independent when they share information.
In engineering practice, synchronize data and check bias and units before tuning covariances. Greater process noise usually lets a filter track changes more quickly; greater measurement noise generally reduces the correction from a reading.
See it in the signal denoising and motion tracking demos, then follow the standard filter equations.


