Path: Common/Atmosphere
% Computes atmospheric density based on the standard atmosphere model. To get a table of standard atmosphere data type load -ascii AtmData; Type StdAtm for demo. -------------------------------------------------------------------------- Form: d = StdAtm( altitude, AtmData, units ) -------------------------------------------------------------------------- ------ Inputs ------ altitude (:) Altitude (m or ft) AtmData (:,6) Standard atmosphere data. units (1,:) 'si', 'mks' or 'eng' i.e. m & kg or lb & ft ------- Outputs ------- d (.) Standard atmosphere struct .temperature .pressure .density .speedOfSound .kinematicViscosity -------------------------------------------------------------------------- x is [altitude (m) temperature (deg-K) pressure (N/m^2) density (kg/m^3) speed of sound (m/s) kinematic viscosity (m^2/s)] or [altitude (ft) temperature (deg-R) pressure (lbf/ft^2) density (lbf/m^3) speed of sound (ft/s) kinematic viscosity (ft^2/s)] --------------------------------------------------------------------------
AerospaceUtils: AeroData/AtmData Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle
Back to the Common Module page