AerospaceUtils Module 

AtmData.mat  Atmospheric data binary file 
AtmData.txt  Atmospheric data text file 
Cube.obj  OBJ model of a cube with materials data. 
NRLMSIS.mat  Data needed by AtmNRLMSISE 
SimpleSC.mat  Simple MAT file for demos. 
AirData  Computes air data based on a simplified standard atmosphere model. 
AtmDens1  Computes the atmospheric density using an exponential model. 
AtmDens2  Computes the Earth's atmospheric density using scale heights. 
AtmDensTitan  Computes the atmospheric density of Titan using a curve fit. 
AtmGamma  Computes the ratio of specific heats for air. 
AtmJ70  Computes the atmospheric density using Jacchia's 1970 model. 
AtmNRLMSISE  NRLMSISE00 Model 2001 for atmospheric density 
AtmSnd  Computes the speed of sound in the atmosphere. 
AtmTemp  Computes the atmospheric temperature using a simplified model. 
BaromExp  Computes the barometric exponent. 
DiffusionExp  Computes the diffusion exponent. 
JacchiaLineberry  JacchiaLineberry model of the upper atmosphere. 
LocalSolarTime  Compute local solar time 
NeptuneDensity  Compute the atm. density (kg/m^3) on Neptune given the altitude (km) 
ReynoldsNumber  Reynold's number as a function of atmospheric density. 
SutherlandsLaw  Sutherland's law for dynamic viscosity. 
TemperatureStagnation  Compute the stagnation temperature in the earth's atmosphere. 
UranusDensity  Compute the atmospheric density on Uranus. 
AddThermalDevices  Add a heater and thermistor to each component. 
AreaTriMesh  Computes the area of a triangle mesh. 
AutoCADColor  Converts an AutoCAD color into a [r,g,b] color. 
BHinge  Compute a transformation matrix from a bHinge data structure. 
BinaryToString  Converts a bit array to a string. [1 0 1 0] will become 0101. 
BodyPlugIn  Create the CAD body GUI plug in. 
BoundingBox  Compute a bounding box for a component 
BuildCADModel  Build a model of a spacecraft using repeated calls to this function. 
CADColor  Color a CAD Model. This function can be used only to change the colors 
CADNotebook  Work with a model using the CAD data structure. 
CentroidOBJFile  Computes the centroid of an obj file. 
CombineOBJFiles  Combines obj files and writes a new file. 
ComponentPlugIn  Create an component GUI plug in. 
ComponentPopup  Draw a component 
CreateBody  Create a body with hinge data. 
CreateCADReport  Creates CAD model report. It will create HTML tables or formatted output. 
CreateCADTable  Creates a CAD Report by subystem 
CreateComponent  Create a CAD component. This function has a builtin demo. 
CreateReport  Creates power and mass reports from a CAD model. 
CrossSection  Determine crosssectional area from CAD model. 
DeviceProperties  Generates default properties for specific devices. 
Dim  Set the transparency for components of a particular name. 
Draw2DViewPlugIn  Draw the spacecraft CAD components in a 2D representation. 
DrawPatch  Draw a series of patches. 
DrawSCPlanPlugIn  Draw a spacecraft CAD model in a plain 3D box with Gouraud lighting. 
DrawSpacecraftPatches  Draw the spacecraft CAD model using patches. 
ExportCAD  Export a CAD file to a text file. 
ExportDSim  Export fields required by DSim. This routine will create three files. 
ExportDXF  Export a DXF file. 
ExportOBJ  Export an OBJ file. 
ExportVerticesToOBJ  Export an OBJ file. 
FindComponents  Find the indices of components containing a particular string 
ForceAndTorqueEnvelope  Computes the force and torque envelope. n is the number of samples. 
GenericProperties  Generates generic properties for CAD components. The types are: 
GetCADVF  Return a single set of vertices "v" and faces "f" for the CAD model. 
GetSubsystemMass  Compute the total mass in the requested subsystem 
HSRCAD  Finds the visible surfaces given a vertex and face list. 
LoadCAD  Load a 3D CAD file. Handles .dxf, .obj and .3DMF files. 
MassBudget  Create a mass budget for a flight vehicle. 
MassBudgetInput  Create a data structure for MassBudget. Enter parameter pairs. 
MatlabColorToObj  Convert Matlab color parameters to obj parameters. 
PanelBoxCAD  Build a box with panels. 
RotateOBJFile  Rotates and scales an obj file name.obj. 
SetCADQuaternion  Set the inertial attitude of a CAD model. 
SetCADRotation  Set CAD model rotations using parameter/value pairs. 
SetCADState  Set the inertial state of a CAD model. 
ShowCAD  Display a stored CAD model in a plain 3D box using DrawSCPlanPlugIn. 
SpacecraftPlugIn  Create a Spacecraft GUI plug in. 
TesselatePolygon  Tesselate polygons by breaking them into triangles. 
TreeBldCAD  Take the CAD data and create the body array for Tree. 
TreeDraw  Update the 3D drawing data structure. 
TriMesh3DMF  Generate a 3DMF for a trimesh. This function will append ".t3d" to the file. 
AddCubesatComponent  Add a component to a CAD model. 
AirCoreTorquerModel  Get vertices and faces for an air core magnetic torquer CAD component. 
AntennaPatch  Get vertices and faces for an antenna CAD component. 
ArrayPatch  Get vertices and faces for solar array CAD models. 
CameraModel  Get CAD vertices and faces for a star camera model. 
CircuitBoard  Get vertices and faces for a circuit board CAD model. 
CompactPCIChassis  Get vertices and faces for a CompactPCI 3U Chassis CAD component. 
CylindricalTank  A cylindrical tank with spherical endcaps 
DeltaWing  Get vertices and faces for a single or double delta wing CAD model. 
Fuselage  Get vertices and faces for a fuselage CAD model. 
HallThrusterModel  Get CAD vertices and faces for a Hall thruster. 
ICONS  Get CAD vertices and faces for the Integrated Communications and Navigation Sensor. 
LAETR308CAD  Generate CAD vertices and faces for a Northrop Grumman TR308 engine. 
LunarModuleFirstStage  Get CAD vertices and faces for a lunar module first stage. 
LunarModuleSecondStage  Generates a CAD component for a lunar module ascent stage. 
NoseCone  Get CAD vertices and faces for a nose cone. 
NuclearReactorModel  Get CAD vertices and faces for an SP100 based space nuclear reactor. 
Panel  Get CAD vertices and faces for a panel in the x, y plane. 
PanelFrame  Get CAD vertices and faces for a frame for a honeycomb panel. 
PanelWithCenterHole  Get CAD vertices and faces for a panel with a center hole. 
PanelWithCutout  Get CAD vertices and faces for a panel with a cutout. 
Panels  Draw panels for a spacecraft. 
REAModel  Get CAD vertices and faces for General Dynamics REAs. 
RWAArray  Get CAD components for an array of four reaction wheels. 
RWAModel  Get CAD vertices and properties for a specific RWA model. 
RWAPatch  Get CAD vertices for an RWA. 
SCMG  Get CAD vertices and faces for a singleaxis control moment gyro. 
SHELSFlange  Get CAD vertices and faces for the SHELS Flange component. 
SHELSInterface  Get vertices and faces for the SHELS Interface CAD components. 
SaturnsRings  Get CAD vertices and faces for the rings of Saturn. 
SimpleFuselage  Get CAD vertices and faces for a simple fuselage. 
SolarWingSupport  Get CAD vertices and faces for a triangle strut for a solar wing. 
StarCameraBasicModel  Get vertices and faces for a basic star camera CAD component. 
StarCameraModel  Get CAD vertices and faces for various star cameras. 
SurfaceOfRevolution  Generate CAD vertices and faces for a surface of revolution about z. 
TPlate  Generate CAD vertices and faces for a Tshaped plate. 
ThrusterCAD  Get CAD vertices and faces for a thruster model. 
ThrusterPatch  Get vertices and faces for a thruster CAD component. 
TubeBetweenPoints  Generate CAD vertices and faces for a tube going from x1 to x2 
USR30Motor  Generate CAD vertices and faces for a motor model. 
Wing  Generate vertices and faces for a wing. 
XenonTank  Generate a Xenon Tank CAD model based on the ETS VIII Tank. 
XenonTankSupport  Generate CAD vertices for a Xenon Tank support based on the ETS VIII Tank. 
AzCoElToU  Converts azimuth and coelevation to a unit vector. 
AzElRangeRangeDotToRV  Compute r, v from range, range rate, az and el. 
AzElToU  Converts azimuth and elevation to a unit vector. 
BankAngle  Bank angle computations 
CoordinateTransform  Transform between selected coordinate frames and representations. 
DownrangeAndAltFromTarget  Finds the altitude and downrange from a target on a planet. 
ECEFToLLA  Compute latitude, longitude, altitude from ECEF position. 
ECIToEF  Computes the matrix from mean of Aries 2000 to the earth fixed frame. 
EFToLatLonAlt  Convert an earth fixed position vector to [latitude;longitude;altitude] 
FLagrange  Lagrange point RHS. 
Gc2GdLat  Convert geocentric latitude to geodetic latitude. 
Gd2GcLat  Convert geodetic latitude to geocentric latitude 
HorizonAngle  Angle between the horizon and a vector from rG to rS. 
IntersectPlanet  Altitude of the nearest point to a sphere. 
LLAToECEF  Compute ECEF position from latitude, longitude, altitude. 
LatLonAltToEF  Convert [latitude;longitude;altitude] to an earth fixed position vector. 
LatLonToR  Converts geodetic latitude and longitude to r for an ellipsoidal planet. 
OmegaFromU  Finds a total angular rate from a set of unit vectors. 
OmegaLVLH  Generate the LVLH angular rate vector. 
Q2RADec  Compute right ascension and declination of a vector from a quaternion. 
QAcq  Given at least three vectors computes the initial quaternion. 
QAlign  Rotate about a body axis to align a body vector with an inertial vector. 
QFrom2U  Finds a quaternion with u1 aligned with u1ECI and u2 close to u2ECI. 
QHills  Generate the quaternion that transforms from the ECI to the Hills frame. 
QIToBDot  Computes the time derivative of a quaternion. 
QLVLH  Generate the quaternions that transform from ECI to LVLH coordinates. 
QLatLon  Generate the quaternions that transform from ECI to a lat/long frame 
QNadirPoint  Generate a quaternion that points a body vector uB towards nadir. 
QRotateToAlign  Rotate about an axis to align "ua" as close as possible to target "ut" 
QSLERP  Interpolate a quaternion using the SLERP algorithm. 
QToPFTarget  Generate a quaternion to go to a planet fixed lat/long target. 
QVectorAlign  Rotate about an axis to align "ua" as close as possible to target "ut" 
R2LatLon  Computes geocentric latitude and longitude from r 
RVToRADec  Computes right ascension and declination and their rates. 
RaDec2Q  Right ascension and declination to a quaternion. 
RollPitchToQECI  Convert roll, pitch, r and v to QECIToBody 
SunAzEl  Approx. azimuth and elevation of the sun for a time and place on earth. 
TargetFromRPVD  Finds a target on a planet. 
U2AzEl  Converts a unit vector to azimuth and elevation. 
U2RADec  Computes the right ascension and declination from a unit vector. 
AtmosphereModelCompare  Compares atmosphere models 
DataGenNRLMSISE  This file is used to generate data for AtmNRLMSISE.m 
NRLMSISTest  This file replicates the test case from the reference 
Back to API main page