Main Content

Sensor Models

R2026b
Simulation and calibration 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.

To fuse multiple sensors or use other localization algorithms, see Localization Algorithms.

For more information about GNSS localization and positioning, see GNSS Positioning.

Functions

expand all

imuSensorIMU simulation model
installimupartsInstall IMU hardware part datasets (Since R2026b)
loadimupartLoad parameterized IMU hardware part (Since R2026b)
accelparamsAccelerometer sensor parameters
accelcalCalibration parameters for accelerometer (Since R2023b)
linaccelLinear acceleration from accelerometer reading (Since R2023b)
magparamsMagnetometer sensor parameters
magcalMagnetometer calibration coefficients
gyroparamsGyroscope sensor parameters
allanvarAllan variance
fractalcoefFilter coefficients for fractal noise generation (Since R2023b)
gravitydirGravity direction vector for given orientation (Since R2023b)
tiltTilt angle (Since R2023b)
compassAngleNavigational heading relative to north (Since R2023b)
altimeterSensorAltimeter simulation model
barometerSensorBarometer sensor model with noise (Since R2026a)
gpsSensorGPS receiver simulation model
nmeaParserParse data from standard and manufacturer-specific NMEA sentences sent from marine electronic devices
gpsdevConnect to a GPS receiver connected to host computer
insSensorInertial navigation system and GNSS/GPS simulation model
rangeSensorSimulate range-bearing sensor readings
gnssSensorSimulate GNSS to generate position and velocity readings
gnssMeasurementGeneratorSimulate GNSS measurements for scenarios (Since R2023a)
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
multiSensorParametersStore multiple sensor mounting poses and intrinsic parameters (Since R2026b)
kinematicTrajectoryRate-driven trajectory generator
waypointTrajectoryWaypoint trajectory generator
timescopeDisplay time-domain signals

Blocks

IMU blockIMUIMU simulation model
INS blockINSSimulate INS sensor
GPS BlockGPSSimulate GPS sensor readings with noise

Topics

Featured Examples