Kalman Filter demo for Ball Tracking

This code shows a demo of the kalman filter used to track a white ball.

You are now following this Submission

This code is good for demonstration purposes as the white ball goes through an occlusion which will confuse the image processing tracking, at the same time the model is not perfect because the ball is made of paper and air friction effect cannot be neglected. We can see in this demo, that the Kalman Filter result is much better than the model or the image processing alone.

Cite As

Bassam Jalgha (2026). Kalman Filter demo for Ball Tracking (https://www.mathworks.com/matlabcentral/fileexchange/42257-kalman-filter-demo-for-ball-tracking), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0