Simple Kalman Filtre with 2-D state vector

1 view (last 30 days)
Thank you very well Geoff. I do it with your helps. Thanks
  2 Comments
Geoff Hayes
Geoff Hayes on 12 Jan 2017
bahadir - what is your question? Because it almost looks like you have posted homework and are asking (or expecting?) someone to do it for you. Please attempt the problem and then post questions concerning what you have tried (include any errors that you have observed).
You seem to be tasked with implementing a Linear Kalman Filter. You have the algorithm and all of the (noise, covariance, etc.) matrices so what is missing?
bahadir safak
bahadir safak on 12 Jan 2017
first step My problem is that: Rt and Qt matrix in algorithm.
Second step:B=0
3th.step: what is the Et(is a 2-D random vector from a multivariate....) what is the &t(is a 2-D random vector from a multivariate....)

Sign in to comment.

Accepted Answer

Geoff Hayes
Geoff Hayes on 12 Jan 2017
bahadir - unless you have an algorithm to estimate what R(t) and Q(t) should be at time t, then I would just use the R and Q that have been defined above for all t. This should be sufficient.
Since there is no action, then I suspect B can be zero.
As for Sigma(t) (your E(t)), this is your covariance matrix. Given how it is updated at step three, I suspect that you can initialize it to R...so Sigma(0) = R.
As for your last point, I'm not sure what you mean by &t. Do you mean delta t? If so, it can probably be zero or you can randomly generate it at each iteration using the zero mean and Q for this Gaussian distribution.
  5 Comments
Geoff Hayes
Geoff Hayes on 14 Jan 2017
Yes, I could write a simple Kalman filter in Matlab using your parameters for only one iteration. But then that would be doing your homework for you... ;)
bahadir safak
bahadir safak on 15 Jan 2017
Edited: bahadir safak on 16 Jan 2017
You are best person.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!