Main Content

residualaltimeter

Residuals and residual covariance from altimeter measurements for ahrs10filter

Description

[res,resCov] = residualaltimeter(FUSE,altimeterReadings,altimeterReadingsCovariance) computes the residual, res, and the innovation covariance, resCov, based on the magnetometer readings and the corresponding covariance.

Input Arguments

collapse all

ahrs10filter, specified as an object.

Altimeter readings in meters, specified as a real scalar.

Data Types: single | double

Altimeter readings error covariance in m2, specified as a real scalar.

Data Types: single | double

Output Arguments

collapse all

Measurement residual, returned as a scalar in meters.

Residual covariance, returned as a nonnegative scalar in m2.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2020a