Kalman-and-Bayesian-Filters-in-Python icon indicating copy to clipboard operation
Kalman-and-Bayesian-Filters-in-Python copied to clipboard

Curiosity about provided solution for Chapter 2, "Exercise: Write Generic Algorithm"

Open dthakur opened this issue 4 years ago • 1 comments

The provided solution has:

dx = dx + h * (residual) / dt

In my own solution, I wrote:

dx = (1 - h) * dx + h * (residual) / dt

Is the (1 - h) applied to the prediction unnecessary for updating dx?

dthakur avatar May 11 '21 03:05 dthakur

Chapter 1, not 2. https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python/blob/9e3d2f6ed023d937587cf2ef2ecfbf7afc3d8054/01-g-h-filter.ipynb#L974

endolith avatar Jul 13 '24 18:07 endolith