Artificial horizon

Artificial horizon (attitude and heading) for aircraft

866 Downloads

Updated 12 Sep 2019

View License

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:
https://www.youtube.com/watch?v=0757-iFj-ws&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv&index=49&t=0s
https://www.youtube.com/watch?v=IPe042z9XIU&index=49&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv
https://www.youtube.com/watch?v=0vwhOycb1GQ&index=50&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv

Cite As

Eric Ogier (2023). 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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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.
Modification of video demonstrations links.

1.0.0.0

Adding of video demonstrations link.