Path: ACPro/ACPerformance
% Computes the velocity and Mach profile for constant dynamic pressure. Computes the velocity and Mach number profile for constant dynamic pressure as a function of altitude and desired dynamics pressure. This function uses StdAtm. This profile is useful for ramjets and scramjets. For speed, if using in a loop, pass it atmData which can be loaded with the operation: atmData = load('AtmData.txt'); Type ConstantDynamicPressureVelocity for an example with a dynamic pressure of 7000 N/m^2. -------------------------------------------------------------------------- Form: [v, mach] = ConstantDynamicPressureVelocity( h, q, atmData ) -------------------------------------------------------------------------- ------ Inputs ------ h (1,:) Altitude (km) q (1,1) Dynamic pressure (N/m^2) atmData (1,:) File name for standard atmosphere ------- Outputs ------- v (1,:) Velocity (m/s) mach (1,:) Mach number --------------------------------------------------------------------------
AerospaceUtils: AeroData/AtmData Common: Atmosphere/StdAtm Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PlotDoubleYAxis Common: Graphics/PltStyle Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS
Back to the ACPro Module page