Sensor Models

Calibration and simulation for IMU, GPS, and range sensors

Perform sensor modeling and simulation for accelerometers, magnetometers, gyroscopes, altimeters, GPS, IMU, and range sensors. Analyze sensor readings, sensor noise, environmental conditions and other configuration parameters. Generate trajectories to emulate these sensors traveling through a world and calibrate the performance of your sensors.


allanvarAllan variance
magcalMagnetometer calibration coefficients
accelparamsAccelerometer sensor parameters
gyroparamsGyroscope sensor parameters
magparamsMagnetometer sensor parameters


gnssSensorSimulate GNSS to generate position and velocity readings
altimeterSensorAltimeter simulation model
gpsSensorGPS receiver simulation model
imuSensorIMU simulation model
insSensorInertial navigation and GPS simulation model
rangeSensorSimulate range-bearing sensor readings
wheelEncoderUnicycleSimulate wheel encoder sensor readings for unicycle vehicle
wheelEncoderBicycleSimulate wheel encoder sensor readings for bicycle vehicle
wheelEncoderDifferentialDriveSimulate wheel encoder sensor readings for differential drive vehicle
wheelEncoderAckermannSimulate wheel encoder sensor readings for Ackermann vehicle
kinematicTrajectoryRate-driven trajectory generator
timescopeDisplay time-domain signals
waypointTrajectoryWaypoint trajectory generator
nmeaParserParse data from standard NMEA sentences sent from GNSS receivers
gpsdevConnect to a GPS receiver connected to host computer


AHRSOrientation from accelerometer, gyroscope, and magnetometer readings
IMUIMU simulation model
INSSimulate INS sensor


Model IMU, GPS, and INS/GPS

Model combinations of inertial sensors and GPS

Inertial Sensor Noise Analysis Using Allan Variance

This example shows how to use the Allan variance to determine noise parameters of a MEMS gyroscope.

Wheel Encoder Error Sources

Explore the various error sources of wheel encoders and how they affect the wheel odometry estimate.

Remove Bias from Angular Velocity Measurement

This example shows how to remove gyroscope bias from an IMU using imufilter.

Configure Time Scope MATLAB Object

Customize timescope properties and use measurement tools.

Featured Examples