Main Content

Flight Parameters and Quaternion Math

Aerospace parameter calculations and quaternion math

Estimate aerodynamic flight parameters, such as airspeed, incidence and sideslip angles, Mach number, and relative pressure, density, and temperature ratios.

Use built-in quaternion functions to calculate their norm, modulus, natural logarithm, product, division, inverse, power, or exponential. You can also interpolate between two quaternions using the linear, spherical-linear, or normalized-linear methods. Aerospace Toolbox uses quaternions that are defined using the scalar-first convention.


expand all

airspeedAirspeed from velocity
alphabetaCompute incidence and sideslip angles
correctairspeedConvert airspeeds between 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