Prediction of measurement
[z_pred,x_pred,P_pred] = predict(
returns the prediction of measurement, state, and state estimation error covariance at the
next time step (e.g., the next video frame). The object overwrites the internal state and
covariance of the Kalman filter with the prediction results.kalmanFilter
)
[z_pred,x_pred,P_pred] = predict(
additionally lets you specify the control input, u. This syntax applies
when you set the control model, B.kalmanFilter
,u
)