我正在关注一个关于卡尔曼滤波器的可能众所周知的教程。
从这些代码行:
figure;
plot(t,pos, t,posmeas, t,poshat);
grid;
xlabel('Time (sec)');
ylabel('Position (feet)');
title('Figure 1 - Vehicle Position (True, Measured, and Estimated)')
我明白那x
是真实的位置,y
是测量的位置,xhat
是估计的位置。那么,如果我们可以计算x
(这段代码:) x = a * x + b * u + ProcessNoise;
,为什么我们还需要估计x
呢?