Jump to content

Julia for MATLAB Users/Index/Toolboxes/Aerospace Toolbox

From Wikibooks, open books for an open world

Aerospace Toolbox

[edit | edit source]

Maps functionality from the MATLAB Aerospace Toolbox to equivalent(s) in Julia.

[edit | edit source]

Data Import

[edit | edit source]
datcomimport Bring DATCOM file into MATLAB environment
[edit | edit source]

Coordinate Systems

[edit | edit source]

Axes Transformations

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

Flight Parameters and Quaternion Math

[edit | edit source]
airspeed Airspeed from velocity
[edit | edit source]
alphabeta Incidence and sideslip angles
[edit | edit source]
correctairspeed Convert from one of other two airspeeds to equivalent airspeed (EAS), calibrated airspeed (CAS), or true airspeed (TAS)
[edit | edit source]
dpressure Compute dynamic pressure using velocity and density
[edit | edit source]
machnumber Compute Mach number using velocity and speed of sound
[edit | edit source]
rrdelta Compute relative pressure ratio
[edit | edit source]
rrsigma Compute relative density ratio
[edit | edit source]
rrtheta Compute relative temperature ratio
[edit | edit source]
quatconj Calculate conjugate of quaternion
[edit | edit source]
quatdivide Divide quaternion by another quaternion
[edit | edit source]
quatexp Exponential of quaternion
[edit | edit source]
quatinterp Quaternion interpolation between two quaternions
[edit | edit source]
quatinv Calculate inverse of quaternion
[edit | edit source]
quatlog Natural logarithm of quaternion
[edit | edit source]
quatmod Calculate modulus of quaternion
[edit | edit source]
quatmultiply Calculate product of two quaternions
[edit | edit source]
quatnorm Calculate norm of quaternion
[edit | edit source]
quatnormalize Normalize quaternion
[edit | edit source]
quatpower Power of quaternion
[edit | edit source]
quatrotate Rotate vector by quaternion
[edit | edit source]

Unit Conversions

[edit | edit source]
aEROREadieRsdatA File containing current International Astronomical Union (IAU) 2000A Earth orientation data
[edit | edit source]
convacc Convert from acceleration units to desired acceleration units
[edit | edit source]
convang Convert from angle units to desired angle units
[edit | edit source]
convangacc Convert from angular acceleration units to desired angular acceleration units
[edit | edit source]
convangvel Convert from angular velocity units to desired angular velocity units
[edit | edit source]
convdensity Convert from density units to desired density units
[edit | edit source]
convforce Convert from force units to desired force units
[edit | edit source]
convlength Convert from length units to desired length units
[edit | edit source]
convmass Convert from mass units to desired mass units
[edit | edit source]
convpres Convert from pressure units to desired pressure units
[edit | edit source]
convtemp Convert from temperature units to desired temperature units
[edit | edit source]
convvel Convert from velocity units to desired velocity units
[edit | edit source]
Deltaut1 Calculate difference between Coordinated Universal Time (UTC) and Principal Universal Time (UT1)
[edit | edit source]
decyear Decimal year calculator
[edit | edit source]
juliandate Julian date calculator
[edit | edit source]
leapyear Determine leap year
[edit | edit source]
mjuliandate Modified Julian date calculator
[edit | edit source]
tdbjuliandate terrConvert from Barycentric Dynamical Time Estimate to Julian date
[edit | edit source]

Environment

[edit | edit source]
aeroDataPackage Start Add-On Explorer to download, install, or uninstall aerospace-specific data
[edit | edit source]
atmoscira Use COSPAR International Reference Atmosphere 1986 model
[edit | edit source]
atmoscoesa Use 1976 COESA model
[edit | edit source]
atmoshwm Implement horizontal wind model
[edit | edit source]
atmosisa Use International Standard Atmosphere model
[edit | edit source]
atmoslapse Use Lapse Rate Atmosphere model
[edit | edit source]
atmosnonstd Use climatic data from MIL-STD-210 or MIL-HDBK-310
[edit | edit source]
atmosnrlmsise00 Implement mathematical representation of 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere
[edit | edit source]
atmospalt Calculate pressure altitude based on ambient pressure
[edit | edit source]
earthNutation Implement Earth nutation
[edit | edit source]
moonLibration Moon librations
[edit | edit source]
planetEphemeris Position and velocity of astronomical objects
[edit | edit source]
geocradius Convert from geocentric latitude to radius of ellipsoid planet
[edit | edit source]
geoidegm96 Calculate geoid height as determined from EGM96 Geopotential Model
[edit | edit source]
geoidheight Calculate geoid height
[edit | edit source]
gravitycentrifugal Implement centrifugal effect of planetary gravity
[edit | edit source]
gravitysphericalharmonic Implement spherical harmonic representation of planetary gravity
[edit | edit source]
gravitywgs84 Implement 1984 World Geodetic System (WGS84) representation of Earth's gravity
[edit | edit source]
gravityzonal Implement zonal harmonic representation of planetary gravity
[edit | edit source]
igrfmagm Calculate Earth magnetic field and secular variation using International Geomagnetic Reference Field
[edit | edit source]
wrldmagm Use World Magnetic Model
[edit | edit source]

Gas Dynamics

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

Visualize Trajectory and Attitude

[edit | edit source]

Axes Transformations

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

Flight Simulator Interfaces

[edit | edit source]
aero.FlightGearAnimation Construct FlightGear animation object
[edit | edit source]

MATLAB Based Animation

[edit | edit source]
aero.Animation Visualize aerospace animation
[edit | edit source]
aero.Body Create body object for use with animation object
[edit | edit source]
aero.Camera Construct camera object for use with animation object
[edit | edit source]
aero.Geometry Construct 3-D geometry for use with animation object
[edit | edit source]

Virtual Reality Animation

[edit | edit source]
aero.Node Create node object for use with virtual reality animation
[edit | edit source]
aero.Viewpoint Create viewpoint object for use in virtual reality animation
[edit | edit source]
aero.VirtualRealityAnimation Construct virtual reality animation object
[edit | edit source]