This is exercise 4/8 from my optimal estimation course. The focus is on propagation of uncertainty and prediction.
Context
Again, to gather data, we use dead reckoning. The navigator uses a log to measure the speed of the vessel and a compass to determine the heading. Together, they can be used to extract the velocity .
- Consider an estimate that is available for position and the velocity determined at time .
- Together, and provide sufficient information to deduce an estimate of the position valid for time . So we call the prediction with a lead of i.e. -step ahead prediction.
So I want to develop a predictor that can predict the position of the ship and that provides an uncertainty region. So in this application, the mean and the covariance will be propagated in time as opposed to Fundamentals of parameter estimation - Part III, where they were static. And the whole application was static.
I am provided with the identified linear state space model
where is a time invariant system matrix, and is a white sequence of Gaussian random vectors with zero mean and a time invariant covariance matrix .
Invariant means they do not change over time. Now Iβm a lilβ bit confused, I thought I would have dynamic parameters now. So itβs the states that change over time and not the params?
so the state space is of type
Like any shitty dead reckoning which I donβt support, velocity and position are obtained through integration of their respective derivative. I guess she said white noise so maybe not so bad if accumulate but still bad you know what I mean? I want a beer.
These equations hold only for dt=1. In continuous time:
In discrete time with sampling period :
So integration becomes
Questions
1. Using the first two state space equations, determine the matrix and the covariance matrix . Use the xsi array (load mat) to deduce the state vector .
By focusing on extracting the next state (updates), I can simply rewrite
Clarification: The 3 dimensions are all 2-dimensional vectors representing the and axes. Because of this, the next time step requires identity matrices, moving the overall system matrix to .
so, according to the equations above, and should look like this