PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Math Visualization

Other simulators in this category — or see all 61.

View category →
NewUniversity / research

LMS / NLMS Adaptive Noise Cancellation

Primary p = s + v with v a fixed unknown FIR of Gaussian reference x[n]. Watch an L-tap FIR adapt by LMS or NLMS so error e = p − wᵀx → s; running MSE and ‖w − h‖.

Launch Simulator
NewUniversity / research

DCT & JPEG Quantization (8×8)

64×64 luma: 8×8 DCT with −128 shift, ISO luminance quant table scaled by JPEG quality, or zigzag AC truncation (keep K). Click a block for coefficient heatmaps and zigzag trace.

Launch Simulator
NewUniversity / research

PLL (Phase-Locked Loop)

Discrete-time analog-style PLL: multiplier PD e = K_d sin(φ_ref − φ_VCO), PI loop filter, VCO ω = ω_fr + K_v u; step ω_ref to explore lock, capture, and steady-state phase error.

Launch Simulator
NewUniversity / research

ΔΣ (1-bit) Modulator

First- and second-order discrete-time ΔΣ with ±1 quantizer: shaped quantization noise, sine test tone, boxcar reconstruction, and Hann-windowed error spectrum (last 1024 samples).

Launch Simulator
NewUniversity / research

Polyphase L/M Resampling

Zero-stuff by L, Hamming-windowed sinc FIR at the high rate with min(π/L,π/M) cutoff, then decimate by M; spectra in/out and Noble-identity polyphase intuition.

Launch Simulator
NewUniversity / research

Mandelbrot Deep Zoom

Drag/wheel deep zoom into the Mandelbrot set with smooth continuous coloring and named landmarks.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Kalman Filter (1-D)

Kalman Filter (1-D)

This interactive simulator explores Kalman Filter (1-D) in Math Visualization. Recursive optimal estimation: noisy measurements, hidden truth, predict + update with Q and R; random-walk or constant-velocity model with ±2σ band and innovations. Use the controls to change the scenario; watch the visualization and any graphs or readouts to connect the model with lectures, labs, and homework.

Who it's for: For learners comfortable with heavier math or second-level detail. Typical context: Math Visualization.

Key terms

  • kalman
  • filter
  • kalman 1d
  • math
  • visualization

Kalman filter

Hidden truth signal

0
-1
5s

Shortcuts

  • •Drag across plots to move the time cursor

Measured values

RMSE estimate vs truth2.313
RMSE measurement vs truth0.315
noise reduction0.14×
steady-state K0.049
σ̂ at cursor0.070

How it works

1-D Kalman filter: optimally combines a noisy measurement z of a hidden true signal with a dynamic model. Each step does predict (propagate state and covariance through the model F, growing P by process noise Q) and update (shrink toward the new measurement by Kalman gain K = P_p H^T / (H P_p H^T + R)). Crank up R and the filter trusts the model; crank up Q and it tracks the measurements aggressively. The 2-state constant-velocity mode lets the filter estimate velocity from position-only measurements — try the ramp preset to see velocity locking onto the true slope.

Key equations

predict: x̂⁻ = F x̂, P⁻ = F P Fᵀ + Q
update: K = P⁻ Hᵀ (H P⁻ Hᵀ + R)⁻¹
x̂ = x̂⁻ + K (z − H x̂⁻), P = (I − K H) P⁻