UltimateKalman: Flexible Kalman Filtering and Smoothing Using Orthogonal Transformations

Sivan Toledo
7/27/2022
math.NAeess.SY

Official code: sivantoledo/ultimate-kalman (13 stars, C, last commit 2025-09-01).

Abstract

UltimateKalman is a flexible linear Kalman filter and smoother implemented in three popular programming languages: MATLAB, C, and Java. UltimateKalman is a slight simplification and slight generalization of an elegant Kalman filter and smoother that was proposed in 1977 by Paige and Saunders.

Show full abstract

Their algorithm appears to be numerically superior and more flexible than other Kalman filters and smoothers, but curiously has never been implemented or used before. UltimateKalman is flexible: it can easily handle time-dependent problems, problems with state vectors whose dimensions vary from step to step, problems with varying number of observations in different steps (or no observations at all in some steps), and problems in which the expectation of the initial state is unknown. The programming interface of UltimateKalman is broken into simple building blocks that can be used to construct filters, single or multi-step predictors, multi-step or whole-track smoothers, and combinations. The paper describes the algorithm and its implementation as well as with a test suite of examples and tests.

View on arXivView PDF

Code Implementations(1)

High-quality implementations of several Kalman filters and smoothers (including the repository's namesake, UltimateKalman) in three different programming languages: MATLAB, C and Java, with consistent polymorphic APIs.

136C, MATLABJul 10, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{toledo2022ultimatekalman,
  title  = {UltimateKalman: Flexible Kalman Filtering and Smoothing Using Orthogonal Transformations},
  author = {Sivan Toledo},
  year   = {2022},
  eprint = {2207.13526},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.13526}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.13526.svg)](https://codeofpaper.com/paper/2207.13526)

Discussion