visualization tools
you can visualize stages of your aerospace toolbox application using flight simulator, flight instrument, and matlab® graphics-based functions and classes. you can also transform coordinate axes to different types.
axes transformation functions
use the axes transform functions to convert your data to the desired coordinate system. axes transformation functions support these transformation:
rotation angles and quaternions, direction cosine matrices, or euler-rodriguez vectors
direction cosine matrices and quaternions, geodetic latitude and longitude, stability frames, euler-rodriguez vectors, attack and sideslip angles, earth-centered inertial (eci) to earth-centered earth-fixed (ecef)
earth-centered inertial (eci) coordinates and azimuth or geodetic latitude, longitude, altitude (lla) coordinates
geocentric latitude and geodetic latitude
flat earth positions from geodetic latitude, longitude, and altitude
flight simulation interface functions
use flight simulator interface objects to visualize flight paths using flightgear and input flightgear data to models.
to use flightgear to visualize flight paths, first install flightgear software. for more information, see .
use to create a flightgear animation object. use the object methods to work with the flightgear object, such as:
clearing and deleting timer for animation of flightgear flight simulator.
generating run scripts for flightgear flight simulator
animating flightgear flight simulator using given position/angle time series.
updating position data to flightgear animation object.
here is an example of a flight trajectory from create a flight animation from trajectory data.
flight instrument functions
use functions representing standard cockpit instruments to display flight status information from the application. each function creates a cockpit instrument gauge that works with figures created with . after creating a flight instrument panel to contain these gauges, you can load them into matlab app designer. to control the appearance and behavior of these cockpit instrument components, use the associated properties.
— create airspeed indicator component.
— create altimeter component.
— create climb rate indicator component.
— create exhaust gas temperature (egt) indicator component.
— create heading indicator component.
— create artificial horizon component.
— create revolutions per minute (rpm) indicator component.
— create turn coordinator component.
here is an example of a flight instruments pane from aerospace flight instruments in app designer.
matlab graphics-based animation
use matlab graphics-based animation objects to visualize flight paths using matlab graphics software. these animation objects use the matlab object to visualize flight data.
— visualize aerospace animation.
— create body object for use with animation object.
— construct camera object for use with animation object.
— construct 3-d geometry for use with animation object.
here is an example of a flight trajectory playback image from overlaying simulated and actual flight data.