Clear Filters
Clear Filters

tracking an object using kalman filter

2 views (last 30 days)
Zeeshan
Zeeshan on 8 Jan 2015
Commented: Geoff Hayes on 10 Jan 2015
hi all, i'm using kalman filter for prediction of a path. suppose i have a ball in an image. now if the ball is falling vertically downwards without any lateral movement, my matrix B=[0 0 0 g]' , but if along with gravitational force, i apply a force at an angle to ball the ball will move in the opposite direction to the applied force. now my question is what will happen to my matrix B?
your help will be very much appreciated and thanks in advance.
  4 Comments
Zeeshan
Zeeshan on 9 Jan 2015
the state equation for the kalman filter is x(t+1) = Ax(t) + Bu(t) + Gw(t). where x(t+1) is the present estimate of the ball. x(t) is the previous position of the ball. A is the state matrix. B is the control matirx and u(t) is the control vactor.
Geoff Hayes
Geoff Hayes on 10 Jan 2015
Zeeshan - are you still observing the same error message? If so, please post your code to the extractball function.

Sign in to comment.

Answers (1)

Stalin Samuel
Stalin Samuel on 9 Jan 2015
Edited: Stalin Samuel on 9 Jan 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!