https://nl.mathworks.com/help/fusion/ref/trackerrormetrics-system-object.html
trackErrorMetrics - Track error and NEES - MATLAB
The trackErrorMetrics System object provides quantitative comparisons between tracks and known truth trajectories.
trackerrorneesmatlab