This question is closed. Reopen it to edit or answer.
Particularity Kalman Filter Computer Vision
1 view (last 30 days)
Show older comments
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi everybody! I have a theoretical question about an implementation that MATLAB gives about the Kalman Filter obtainable with the function configureKalmanFilter.
In particular, whenever there has been the need to write a Kalman Filter aimed to track position, velocity and acceleration I've also written a state transition matrix that contemplates also the acceleration into the estimation of the variable associated to the position, basically writing the formula:
x(t+1) = x(t) + v(t) + 0.5*a(t)
(where the time does not compare near the acceleration term since it's unitary)
Analyzing instead the solution it is proposed into the function I observed that only the velocity term is considered in the computation of the state, ignoring any acceleration.
My question is so: Why did you choose to apply such structure instead of entirely rewriting the typical equation of uniformly accelerated motions?
Dima Lisin on 3 Sep 2015
The configureKalmanFilter function lets you specify the motion model, which can be 'ConstantVelocity' or 'ConstantAcceleration'. If you choose 'ConstantAcceleration' then the state transition matrix A will be set to account for the acceleration. If you have a motion model, in which acceleration is not constant, then you would have to construct the vision.KalmanFilter object "manually" using the constructor, and specify the appropriate state transition matrix.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!