To ensure design consistency, Aerospace Toolbox provides utilities for unit conversions, coordinate transformations, and quaternion math, as well as standards-based environmental models for the atmosphere, gravity, geoid height, and magnetic field. You can import aerodynamic coefficients from the U.S. Air Force Digital Data Compendium (Datcom) to carry out preliminary control design and vehicle performance analysis.
Aerospace Toolbox provides standards-based environmental models for atmosphere, gravity, geoid height, and magnetic field.
The atmospheric models help you calculate ambient flight conditions and normalize flight data. They incorporate the 1976 Committee on Extension to the Standard Atmosphere (COESA) and International Standard Atmosphere (ISA) models, as well as nonstandard day models from U.S. military specifications (MIL-HDBK-310 and MIL-STD-210C).
Additional atmospheric model functions implement mathematical representations from these models: 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere (NRLMSISE) and 1986 Committee on Space Research (COSPAR) International Reference Atmosphere (CIRA). The NRLMSISE model provides atmospheric temperatures and densities at altitudes from 0 to 1,000 kilometers for a specified location and time. The CIRA model provides mean climatic data for atmospheric temperature, zonal wind, and either geopotential height or pressure for altitudes from 0 to 120 kilometers.
The gravity, geoid height, and magnetic field model functions help you analyze data and develop algorithms for navigation and geodesy applications. The gravity model is based on the 1984 World Geodetic System (WGS84) gravitational model. The geoid height function uses the 1996 Earth Geopotential Model (EGM96) to calculate geoid height for a specified latitude and longitude. The magnetic field model incorporates the 2000 and 2005 versions of the World Magnetic Model (WMM), which both use the National Imagery and Mapping Agency (NIMA) standard to calculate total intensity, horizontal intensity, declination, inclination, and the vector of the Earth's magnetic field for a specified location and time.
Aerospace Toolbox lets you convert units and transform axes representations and coordinate systems. The unit conversion utilities convert physical properties, such as acceleration, density, and temperature, between metric and English units. The axes transformation utilities create direction cosine matrices and convert spatial representations between Euler angles and quaternion vectors. The Euler angles can be in any of the twelve standard rotation sequences. The direction cosine (rotation) matrix transfers between coordinate systems, such as body and inertial; body and wind; Earth-centered, Earth-fixed (ECEF) and north-east-down (NED); and ECEF and latitude, longitude, and altitude (LLA). Other representations include geocentric and geodetic latitude.
Aerospace Toolbox implements utilities for flight parameter calculations, time calculations, and quaternion math operations, such as the conjugate, division, inverse, and modulus.
The flight parameter utilities let you calculate these common parameters: relative pressure, density, and temperature ratios; equivalent airspeed; calibrated airspeed; Mach number; dynamic pressure; and, for a given geocentric latitude, planet radius. With the time calculation utilities, you can compute Julian dates, decimal year, and leap year.
The U.S. Air Force Digital Datcom is a computer program that uses flight conditions and aircraft geometry to estimate the aerodynamic stability and control characteristics of aircraft. Digital Datcom follows the methods in the U.S. Air Force Stability and Control Datcom. Aerospace Toolbox includes a function for importing output files from Digital Datcom into MATLAB. This function lets you collect aerodynamic coefficients from static and dynamic analyses and transfer them into MATLAB as a cell array of structures, with each structure containing information about a Digital Datcom output file.
Aerospace Toolbox provides three options for visualizing flight data. First, the interface to FlightGear flight simulator lets you visualize vehicle dynamics in a sophisticated 3-D simulation framework. You can play back flight-test data through FlightGear and quickly reconstruct behavioral anomalies in your flight-test results. Aerospace Toolbox includes functions for controlling the position and attitude of a vehicle in FlightGear flight simulator by using double-precision values of longitude, latitude, altitude, roll, pitch, and yaw from MATLAB. Second, the interface to Simulink 3D Animation lets you use your flight data to control vehicle position and attitude in a virtual-reality scene. You can customize this scene, for example, by adding other vehicles. You can also visualize space flight. Third, MATLAB animation objects let you animate six-degrees-of-freedom motion within the MATLAB environment.