Documentation

Aerospace Toolbox Functions

Alphabetical List By Category

Data Import

datcomimportBring DATCOM file into MATLAB environment

Coordinate Systems

Axes Transformations

angle2dcmConvert rotation angles to direction cosine matrix
angle2quatConvert rotation angles to quaternion
angle2rodConvert rotation angles to Euler-Rodrigues vector
dcm2angleCreate rotation angles from direction cosine matrix
rod2angleConvert Euler-Rodrigues vector to rotation angles
quat2angleConvert quaternion to rotation angles
angle2dcmConvert rotation angles to direction cosine matrix
dcm2alphabetaConvert direction cosine matrix to angle of attack and sideslip angle
dcm2latlonConvert direction cosine matrix to geodetic latitude and longitude
dcm2quatConvert direction cosine matrix to quaternion
dcm2rodConvert direction cosine matrix to Euler-Rodrigues vector
dcmbody2windConvert angle of attack and sideslip angle to direction cosine matrix
dcmecef2nedConvert geodetic latitude and longitude to direction cosine matrix
dcmeci2ecefConvert Earth-centered inertial (ECI) to Earth-centered Earth-fixed (ECEF) coordinates
quat2dcmConvert quaternion to direction cosine matrix
rod2dcmConvert Euler-Rodrigues vector to direction cosine matrix
ecef2llaConvert Earth-centered Earth-fixed (ECEF) coordinates to geodetic coordinates
eci2llaConvert Earth-centered inertial (ECI) coordinates to latitude, longitude, altitude (LLA) geodetic coordinates
flat2llaConvert from flat Earth position to array of geodetic latitude, longitude, and altitude coordinates
lla2ecefConvert geodetic coordinates to Earth-centered Earth-fixed (ECEF) coordinates
lla2eciConvert geodetic latitude, longitude, altitude (LLA) coordinates to Earth-centered inertial (ECI) coordinates
lla2flatConvert from geodetic latitude, longitude, and altitude to flat Earth position
geoc2geodConvert geocentric latitude to geodetic latitude
geod2geocConvert geodetic latitude to geocentric latitude
angle2quatConvert rotation angles to quaternion
dcm2quatConvert direction cosine matrix to quaternion
quat2angleConvert quaternion to rotation angles
quat2dcmConvert quaternion to direction cosine matrix
quat2rodConvert quaternion to Euler-Rodrigues vector
rod2quatConvert Euler-Rodrigues vector to quaternion
eci2aerConvert Earth-centered inertial (ECI) coordinates to azimuth, elevation, slant range (AER) coordinates
angle2rodConvert rotation angles to Euler-Rodrigues vector
dcm2rodConvert direction cosine matrix to Euler-Rodrigues vector
quat2rodConvert quaternion to Euler-Rodrigues vector
rod2angleConvert Euler-Rodrigues vector to rotation angles
rod2dcmConvert Euler-Rodrigues vector to direction cosine matrix
rod2quatConvert Euler-Rodrigues vector to quaternion

Flight Parameters and Quaternion Math

airspeedAirspeed from velocity
alphabetaIncidence and sideslip angles
correctairspeedConvert from one of other two airspeeds to equivalent airspeed (EAS), calibrated airspeed (CAS), or true airspeed (TAS)
dpressureCompute dynamic pressure using velocity and density
machnumberCompute Mach number using velocity and speed of sound
rrdeltaCompute relative pressure ratio
rrsigmaCompute relative density ratio
rrthetaCompute relative temperature ratio
quatconjCalculate conjugate of quaternion
quatdivideDivide quaternion by another quaternion
quatexpExponential of quaternion
quatinterpQuaternion interpolation between two quaternions
quatinvCalculate inverse of quaternion
quatlogNatural logarithm of quaternion
quatmodCalculate modulus of quaternion
quatmultiplyCalculate product of two quaternions
quatnormCalculate norm of quaternion
quatnormalizeNormalize quaternion
quatpowerPower of quaternion
quatrotateRotate vector by quaternion

Unit Conversions

aeroReadIERSDataFile containing current International Astronomical Union (IAU) 2000A Earth orientation data
convaccConvert from acceleration units to desired acceleration units
convangConvert from angle units to desired angle units
convangaccConvert from angular acceleration units to desired angular acceleration units
convangvelConvert from angular velocity units to desired angular velocity units
convdensityConvert from density units to desired density units
convforceConvert from force units to desired force units
convlengthConvert from length units to desired length units
convmassConvert from mass units to desired mass units
convpresConvert from pressure units to desired pressure units
convtempConvert from temperature units to desired temperature units
convvelConvert from velocity units to desired velocity units
deltaUT1Calculate difference between Coordinated Universal Time (UTC) and Principal Universal Time (UT1)
decyearDecimal year calculator
juliandateJulian date calculator
leapyearDetermine leap year
mjuliandateModified Julian date calculator
tdbjuliandateConvert from Barycentric Dynamical Time Estimate to Julian date

Environment

aeroDataPackageStart Add-On Explorer to download, install, or uninstall aerospace-specific data
atmosciraUse COSPAR International Reference Atmosphere 1986 model
atmoscoesaUse 1976 COESA model
atmoshwmImplement horizontal wind model
atmosisaUse International Standard Atmosphere model
atmoslapseUse Lapse Rate Atmosphere model
atmosnonstdUse climatic data from MIL-STD-210 or MIL-HDBK-310
atmosnrlmsise00Implement mathematical representation of 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere
atmospaltCalculate pressure altitude based on ambient pressure
earthNutationImplement Earth nutation
moonLibrationMoon librations
planetEphemerisPosition and velocity of astronomical objects
geocradiusConvert from geocentric latitude to radius of ellipsoid planet
geoidegm96Calculate geoid height as determined from EGM96 Geopotential Model
geoidheightCalculate geoid height
gravitycentrifugalImplement centrifugal effect of planetary gravity
gravitysphericalharmonicImplement spherical harmonic representation of planetary gravity
gravitywgs84Implement 1984 World Geodetic System (WGS84) representation of Earth's gravity
gravityzonalImplement zonal harmonic representation of planetary gravity
igrfmagmCalculate Earth magnetic field and secular variation using International Geomagnetic Reference Field
wrldmagmUse World Magnetic Model

Gas Dynamics

flowfannoFanno line flow relations
flowisentropicIsentropic flow ratios
flownormalshockNormal shock relations
flowprandtlmeyerCalculate Prandtl-Meyer functions for expansion waves
flowrayleighRayleigh line flow relations

Visualize Trajectory and Attitude

Axes Transformations

angle2dcmConvert rotation angles to direction cosine matrix
angle2quatConvert rotation angles to quaternion
angle2rodConvert rotation angles to Euler-Rodrigues vector
dcm2angleCreate rotation angles from direction cosine matrix
rod2angleConvert Euler-Rodrigues vector to rotation angles
quat2angleConvert quaternion to rotation angles
angle2dcmConvert rotation angles to direction cosine matrix
dcm2alphabetaConvert direction cosine matrix to angle of attack and sideslip angle
dcm2latlonConvert direction cosine matrix to geodetic latitude and longitude
dcm2quatConvert direction cosine matrix to quaternion
dcm2rodConvert direction cosine matrix to Euler-Rodrigues vector
dcmbody2windConvert angle of attack and sideslip angle to direction cosine matrix
dcmecef2nedConvert geodetic latitude and longitude to direction cosine matrix
dcmeci2ecefConvert Earth-centered inertial (ECI) to Earth-centered Earth-fixed (ECEF) coordinates
quat2dcmConvert quaternion to direction cosine matrix
rod2dcmConvert Euler-Rodrigues vector to direction cosine matrix
ecef2llaConvert Earth-centered Earth-fixed (ECEF) coordinates to geodetic coordinates
eci2llaConvert Earth-centered inertial (ECI) coordinates to latitude, longitude, altitude (LLA) geodetic coordinates
flat2llaConvert from flat Earth position to array of geodetic latitude, longitude, and altitude coordinates
lla2ecefConvert geodetic coordinates to Earth-centered Earth-fixed (ECEF) coordinates
lla2eciConvert geodetic latitude, longitude, altitude (LLA) coordinates to Earth-centered inertial (ECI) coordinates
lla2flatConvert from geodetic latitude, longitude, and altitude to flat Earth position
geoc2geodConvert geocentric latitude to geodetic latitude
geod2geocConvert geodetic latitude to geocentric latitude
angle2quatConvert rotation angles to quaternion
dcm2quatConvert direction cosine matrix to quaternion
quat2angleConvert quaternion to rotation angles
quat2dcmConvert quaternion to direction cosine matrix
quat2rodConvert quaternion to Euler-Rodrigues vector
rod2quatConvert Euler-Rodrigues vector to quaternion
eci2aerConvert Earth-centered inertial (ECI) coordinates to azimuth, elevation, slant range (AER) coordinates
angle2rodConvert rotation angles to Euler-Rodrigues vector
dcm2rodConvert direction cosine matrix to Euler-Rodrigues vector
quat2rodConvert quaternion to Euler-Rodrigues vector
rod2angleConvert Euler-Rodrigues vector to rotation angles
rod2dcmConvert Euler-Rodrigues vector to direction cosine matrix
rod2quatConvert Euler-Rodrigues vector to quaternion

Flight Simulator Interfaces

Aero.FlightGearAnimationConstruct FlightGear animation object

MATLAB Based Animation

Aero.AnimationVisualize aerospace animation
Aero.BodyCreate body object for use with animation object
Aero.CameraConstruct camera object for use with animation object
Aero.GeometryConstruct 3-D geometry for use with animation object

Virtual Reality Animation

Aero.NodeCreate node object for use with virtual reality animation
Aero.ViewpointCreate viewpoint object for use in virtual reality animation
Aero.VirtualRealityAnimationConstruct virtual reality animation object
Was this topic helpful?