Main Content

Inertial Sensor Fusion

IMU and GPS sensor fusion to determine orientation and position

Use inertial sensor fusion algorithms to estimate orientation and position over time. The algorithms are optimized for different sensor configurations, output requirements, and motion constraints. You can directly fuse IMU data from multiple inertial sensors. You can also fuse IMU data with GPS data.


expand all

ecompassOrientation from magnetometer and accelerometer readings
imufilterOrientation from accelerometer and gyroscope readings
ahrsfilterOrientation from accelerometer, gyroscope, and magnetometer readings
ahrs10filterHeight and orientation from MARG and altimeter readings
complementaryFilterEstimate orientation using complementary filter (Since R2019b)
insfilterMARGEstimate pose from MARG and GPS data
insfilterAsyncEstimate pose from asynchronous MARG and GPS data
insfilterErrorStateEstimate pose from IMU, GPS, and monocular visual odometry (MVO) data
insfilterNonholonomicEstimate pose with nonholonomic constraints
insfilterCreate inertial navigation filter
insEKFInertial Navigation Using Extended Kalman Filter (Since R2022a)
insOptionsOptions for configuration of insEKF object (Since R2022a)
insAccelerometerModel accelerometer readings for sensor fusion (Since R2022a)
insGPSModel GPS readings for sensor fusion (Since R2022a)
insGyroscopeModel gyroscope readings for sensor fusion (Since R2022a)
insMagnetometerModel magnetometer readings for sensor fusion (Since R2022a)
insMotionOrientationMotion model for 3-D orientation estimation (Since R2022a)
insMotionPoseModel for 3-D motion estimation (Since R2022a)
insCreateMotionModelTemplateCreate template file for motion model (Since R2022b)
insCreateSensorModelTemplateCreate template file for sensor model (Since R2022b)
positioning.INSMotionModelBase class for defining motion models used with insEKF (Since R2022a)
positioning.INSSensorModelBase class for defining sensor models used with insEKF (Since R2022a)
tunerconfigFusion filter tuner configuration options (Since R2020b)
tunernoiseNoise structure of fusion filter (Since R2020b)
tunerPlotPosePlot filter pose estimates during tuning (Since R2021a)


AHRSOrientation from accelerometer, gyroscope, and magnetometer readings (Since R2020a)
IMU FilterEstimate orientation using IMU Filter (Since R2023b)
ecompassCompute orientation from accelerometer and magnetometer readings (Since R2024a)
Complementary FilterEstimate orientation using complementary filter (Since R2023a)