tracking an object using kalman filter

2 次查看(过去 30 天)
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 个评论
Zeeshan
Zeeshan 2015-1-9
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 2015-1-10
Zeeshan - are you still observing the same error message? If so, please post your code to the extractball function.

请先登录,再进行评论。

回答(1 个)

Stalin Samuel
Stalin Samuel 2015-1-9
编辑:Stalin Samuel 2015-1-9

Community Treasure Hunt

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

Start Hunting!

Translated by