Documentation

Aerospace Toolbox Functions

Data Import

datcomimport Bring DATCOM file into MATLAB environment

Coordinate Systems

Axes Transformations

angle2dcm Create direction cosine matrix from rotation angles
angle2quat Convert rotation angles to quaternion
dcm2alphabeta Convert direction cosine matrix to angle of attack and sideslip angle
dcm2angle Create rotation angles from direction cosine matrix
dcm2latlon Convert direction cosine matrix to geodetic latitude and longitude
dcm2quat Convert direction cosine matrix to quaternion
dcmbody2wind Convert angle of attack and sideslip angle to direction cosine matrix
dcmecef2ned Convert geodetic latitude and longitude to direction cosine matrix
dcmeci2ecef Convert Earth-centered inertial (ECI) to Earth-centered Earth-fixed (ECEF) coordinates
ecef2lla Convert Earth-centered Earth-fixed (ECEF) coordinates to geodetic coordinates
eci2aer Convert Earth-centered inertial (ECI) coordinates to azimuth, elevation, slant range (AER) coordinates
eci2lla Convert Earth-centered inertial (ECI) coordinates to latitude, longitude, altitude (LLA) geodetic coordinates
flat2lla Estimate array of geodetic latitude, longitude, and altitude coordinates from flat Earth position
geoc2geod Convert geocentric latitude to geodetic latitude
geod2geoc Convert geodetic latitude to geocentric latitude
lla2ecef Convert geodetic coordinates to Earth-centered Earth-fixed (ECEF) coordinates
lla2eci Convert geodetic latitude, longitude, altitude (LLA) coordinates to Earth-centered inertial (ECI) coordinates
lla2flat Estimate flat Earth position from geodetic latitude, longitude, and altitude
quat2angle Convert quaternion to rotation angles
quat2dcm Convert quaternion to direction cosine matrix

Flight Parameters and Quaternion Math

airspeed Airspeed from velocity
alphabeta Incidence and sideslip angles
correctairspeed Calculate equivalent airspeed (EAS), calibrated airspeed (CAS), or true airspeed (TAS) from one of other two airspeeds
dpressure Compute dynamic pressure using velocity and density
geocradius Estimate radius of ellipsoid planet at geocentric latitude
machnumber Compute Mach number using velocity and speed of sound
rrdelta Compute relative pressure ratio
rrsigma Compute relative density ratio
rrtheta Compute relative temperature ratio
quatconj Calculate conjugate of quaternion
quatdivide Divide quaternion by another quaternion
quatinv Calculate inverse of quaternion
quatmod Calculate modulus of quaternion
quatmultiply Calculate product of two quaternions
quatnorm Calculate norm of quaternion
quatnormalize Normalize quaternion
quatrotate Rotate vector by quaternion

Unit Conversions

convacc Convert from acceleration units to desired acceleration units
convang Convert from angle units to desired angle units
convangacc Convert from angular acceleration units to desired angular acceleration units
convangvel Convert from angular velocity units to desired angular velocity units
convdensity Convert from density units to desired density units
convforce Convert from force units to desired force units
convlength Convert from length units to desired length units
convmass Convert from mass units to desired mass units
convpres Convert from pressure units to desired pressure units
convtemp Convert from temperature units to desired temperature units
convvel Convert from velocity units to desired velocity units
decyear Decimal year calculator
juliandate Julian date calculator
leapyear Determine leap year
mjuliandate Modified Julian date calculator
tdbjuliandate Estimate Julian date for Barycentric Dynamical Time

Environment

aeroDataPackage Start installer to download, install, or uninstall aerospace-specific data
atmoscira Use COSPAR International Reference Atmosphere 1986 model
atmoscoesa Use 1976 COESA model
atmoshwm07 Implement Horizontal Wind Model 07
atmosisa Use International Standard Atmosphere model
atmoslapse Use Lapse Rate Atmosphere model
atmosnonstd Use climatic data from MIL-STD-210 or MIL-HDBK-310
atmosnrlmsise00 Implement mathematical representation of 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere
atmospalt Calculate pressure altitude based on ambient pressure
earthNutation Implement Earth nutation
geoidegm96 Calculate geoid height as determined from EGM96 Geopotential Model
geoidheight Calculate geoid height
gravitycentrifugal Implement centrifugal effect of planetary gravity
gravitysphericalharmonic Implement spherical harmonic representation of planetary gravity
gravitywgs84 Implement 1984 World Geodetic System (WGS84) representation of Earth's gravity
gravityzonal Implement zonal harmonic representation of planetary gravity
igrf11magm Calculate Earth's magnetic field using 11th generation of International Geomagnetic Reference Field
moonLibration Moon librations
planetEphemeris Position and velocity of astronomical objects
wrldmagm Use World Magnetic Model

Gas Dynamics

flowfanno Fanno line flow relations
flowisentropic Isentropic flow ratios
flownormalshock Normal shock relations
flowprandtlmeyer Calculate Prandtl-Meyer functions for expansion waves
flowrayleigh Rayleigh line flow relations

Visualize Trajectory and Attitude

Axes Transformations

angle2dcm Create direction cosine matrix from rotation angles
angle2quat Convert rotation angles to quaternion
dcm2alphabeta Convert direction cosine matrix to angle of attack and sideslip angle
dcm2angle Create rotation angles from direction cosine matrix
dcm2latlon Convert direction cosine matrix to geodetic latitude and longitude
dcm2quat Convert direction cosine matrix to quaternion
dcmbody2wind Convert angle of attack and sideslip angle to direction cosine matrix
dcmecef2ned Convert geodetic latitude and longitude to direction cosine matrix
dcmeci2ecef Convert Earth-centered inertial (ECI) to Earth-centered Earth-fixed (ECEF) coordinates
ecef2lla Convert Earth-centered Earth-fixed (ECEF) coordinates to geodetic coordinates
eci2lla Convert Earth-centered inertial (ECI) coordinates to latitude, longitude, altitude (LLA) geodetic coordinates
flat2lla Estimate array of geodetic latitude, longitude, and altitude coordinates from flat Earth position
geoc2geod Convert geocentric latitude to geodetic latitude
geod2geoc Convert geodetic latitude to geocentric latitude
lla2ecef Convert geodetic coordinates to Earth-centered Earth-fixed (ECEF) coordinates
lla2eci Convert geodetic latitude, longitude, altitude (LLA) coordinates to Earth-centered inertial (ECI) coordinates
lla2flat Estimate flat Earth position from geodetic latitude, longitude, and altitude
quat2angle Convert quaternion to rotation angles
quat2dcm Convert quaternion to direction cosine matrix

Flight Simulator Interfaces

Aero.FlightGearAnimation Construct FlightGear animation object

MATLAB Based Animation

Aero.Animation Visualize aerospace animation
Aero.Body Create body object for use with animation object
Aero.Camera Construct camera object for use with animation object
Aero.Geometry Construct 3-D geometry for use with animation object

Virtual Reality Animation

Aero.Node Create node object for use with virtual reality animation
Aero.Viewpoint Create viewpoint object for use in virtual reality animation
Aero.VirtualRealityAnimation Construct virtual reality animation object
Was this topic helpful?