observation update
[x1,y]=system(x0,f,g,h,q,r)
input state vector
system matrix
input matrix
Output matrix
input noise covariance matrix
output noise covariance matrix
output state vector
output observation
define system function which generates the next observation given the old state. System recursively calculated
x1=f*x0+g*u y=h*x0+v
where u is distributed N(0,q)
and v is distribute N(0,r).
C. B.