Path: Orbit/GravityModels
% Create a gravity map from a gravity model.
Plots the acceleration due to gravity relative to the spherical gravity
(point mass model).
Type GravityMap for a demo.
--------------------------------------------------------------------------
Form:
gMap = GravityMap( lat, lon, alt, nN, nM, gravityModel, f )
--------------------------------------------------------------------------
------
Inputs
------
lat (1,:) Latitude (rad)
lon (1,:) Longitude (rad)
alt (1,1) Altitude (km)
nN (1,1) Highest zonal harmonic (m = 0) (empty gives the max #)
nM (1,1) Highest sectorial and tesseral harmonic
(empty gives the max #)
gravityModel (.) Data structure
.name (1,:) Model name
.mu (1,1) Gravitational constant (km^3/sec^2)
.a (1,1) Model earth radius (km)
.c (n,n) Cosine coefficients
.s (n,n) Sine coefficients
.j (1,n) Zonal harmonics
.isNormalized (1,1) Boolean
f (1,1) Flattening factor
-------
Outputs
-------
gMap (lat,lon) Gravity map in (m/s^2)
--------------------------------------------------------------------------
See also AGravityC, LatLonAltToEF
--------------------------------------------------------------------------
AerospaceUtils: Coord/LatLonAltToEF Orbit: GravityModels/LoadGravityModel Orbit: OrbitMechanics/AGravityC Common: General/Watermark Common: Graphics/Mesh2 Math: Linear/Mag
Back to the Orbit Module page