Estimate position and velocity from noisy measurements.
est_pos(k) = x(1); end
% Simulated measurements true_pos = 0:dt:10; meas = true_pos + sqrt(R)*randn(size(true_pos)); kalman filter matlab