# Artificial horizon

Version 1.3.1 (15.3 KB) by
Artificial horizon for aircraft (yaw, pich, roll, AoA and drift)
Updated 5 Jan 2024

This artificial horizon consists of a graphical object representing the attitude and heading of an aircraft, with the following elements:
- Virtual horizon line between sky and ground symbols
- Reticle symbolising aircraft longitudinal axis
- Flight path marker
- Attitude indicators :
. Pitch indicator, range : ]-180°,+180°], field of view : 40°
. Roll indicator, range : ]-180°,+180°], field of view : 60°
. Heading indicator, range : [-90°,+90°], field of view : 60°
All attitude gauges have the following characteristics:
- Reference markings : cardinal points, null pitch and null roll
- Resolution of 2.5° for graduating
- Specific graduatings for modulo 2.5°, 5° and 10° angles
Attitude can be updated by an object method through the three Euler angles [rad], respecting this aeronautical convention: from an initial attitude (North, horizontal flight), heading, pitch and roll angles respectively increase when:
- Aircraft turns to the East
- Aircraft climbs
- Right wing goes down
Video demonstrations:

### Cite As

Eric Ogier (2024). Artificial horizon (https://www.mathworks.com/matlabcentral/fileexchange/56078-artificial-horizon), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2018a
Compatible with R2016b and later releases
##### Platform Compatibility
Windows macOS Linux
##### Categories
Find more on Guidance, Navigation, and Control (GNC) in Help Center and MATLAB Answers

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

#### ArtificialHorizon

Version Published Release Notes
1.3.1

Introduction of angle units (degree or radian) and compliance with UI axes.

1.3.0.2

Minor modification in update function (update of heading lines)

1.3.0.1

Minor modification to avoid errors if the parent figure is closed by user.

1.3.0.0

Update with flight path marker and new reticles

1.2.0.0

Minor modification for taking into account the dimensions of an existing axis in 'create' function.

1.1.0.0

Modification of heading gauge to indicate horizon line direction.