LoadSGM150:

Path: Orbit/GravityModels

% Load the SGM150 Lunar gravity model. 
 The model is normalized.
--------------------------------------------------------------------------
   Form:
   gravityModel = LoadSGM150( fileName )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   fileName        (1,:) Filename

   -------
   Outputs
   -------
   gravityModel    (1,1) 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
                         .isNormalized  (1,1)  True

--------------------------------------------------------------------------

Children:

Orbit: GravityModels/SGM150

Back to the Orbit Module page