Kalman filter · Interactive demo
Signal Denoising Demo
Can you recover the signal from the noise?
The simulated signal jumps up and down. Orange dots are noisy measurements and the solid teal line is the filtered estimate. The dashed navy line is the true signal, shown for comparison only.
Try it:Play the default example. See how long the estimate takes to catch up after a jump. Increase Q to compare its response time and fluctuations during steady samples.
Enable JavaScript to view the animation.
How does the model work?
This is a scalar random-walk model. The prediction reuses the previous estimate and adds Q to the variance. Measurement variance R is the square of the measurement standard deviation. At each step, the Kalman gain K pulls the prediction toward the new measurement.
Continue reading:Prediction and measurement update in the standard Kalman filter