PDrag:

Path: Orbit/OrbitMechanics

% Dynamic pressure on a satellite based on an exponential atmospheric model.
--------------------------------------------------------------------------
   Form:
   [p, rho] = PDrag( r, v, mu, R, rho0, h0, hScale, wP )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r              (3,:) r in the ECI frame
   v              (3,:) v in the ECI frame
   mu                   Gravitational parameter 
   R                    Planet radius
   rho0                 Base density
   h0                   Base altitude for rho0
   hScale               Atmospheric scale height
   wP                   Planetary rotation rate (rad/sec)

   -------
   Outputs
   -------
   p                    Pressure
   rho                  Atmospheric Density

--------------------------------------------------------------------------
     References: Wiesel, W. E., Spaceflight Dynamics, McGraw-Hill, 1988,
                 pp. 83-86.
                 Escobal, P.R., Methods of Orbit Determination, 1976,
                 p. 60.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
Math: Linear/Cross
Math: Linear/Mag

Back to the Orbit Module page