gravityzonal
Implement zonal harmonic representation of planetary gravity
Syntax
Description
Default Degree of Harmonic and Planetary Model
[
implements the mathematical representation of zonal harmonic planetary gravity based on
planetary gravitational potential. The function takes an m-by-3 matrix
that contains planet-centered planet-fixed coordinates from the center of the planet in
meters. This function calculates the arrays of m gravity values in the
x-, y-, and z-axes of the
planet-centered planet-fixed coordinates.gravityXcoord
gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
)
This function does not include the potential due planet rotation, which excludes the centrifugal effects of planetary rotation and the effects of a precessing reference frame.
[
specifies the action for out-of-range input.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,action
)
Degree of Harmonic Model and Planetary Model
[
uses the degree of harmonic model. gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,degreeGravityModel
)
[
uses the planetary model.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,planetModel
)
[
uses the degree of harmonic model and planetary model.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,planetModel
,degreeGravityModel
)
[
specifies the action for out-of-range input.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,planetModel
,degreeGravityModel
,action
)
Custom Planetary Model
[
uses the equatorial radius, planetary gravitational parameter, and zonal harmonic
coefficients for the custom planetary model.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,'Custom'
,Re
,planetaryGravitional
,zonalHarmonicCoeff
)
[
specifies the action for out-of-range input.gravityXcoord
,gravityYcoord
,gravityZcoord
] = gravityzonal(planetCoord
,'Custom'
,Re
,planetaryGravitional
,zonalHarmonicCoeff
,action
)
Examples
Input Arguments
Output Arguments
Algorithms
gravityzonal
is implemented using the following planetary parameter
values for each planet.
Planet | Equatorial Radius (Re) in Meters | Gravitational Parameter (GM) in m3/s2 | Zonal Harmonic Coefficients (J Values) |
---|---|---|---|
Earth | 6378.1363e3 | 3.986004415e14 | [ 0.0010826269 -0.0000025323 -0.0000016204 ] |
Jupiter | 71492.e3 | 1.268e17 | [0.01475 0 -0.00058] |
Mars | 3397.2e3 | 4.305e13 | [ 0.001964 0.000036 ] |
Mercury | 2439.0e3 | 2.2032e13 | 0.00006 |
Moon | 1738.0e3 | 4902.799e9 | 0.0002027 |
Neptune | 24764e3 | 6.809e15 | 0.004 |
Saturn | 60268.e3 | 3.794e16 | [0.01645 0 -0.001] |
Uranus | 25559.e3 | 5.794e15 | 0.012 |
Venus | 6052.0e3 | 3.257e14 | 0.000027 |
References
[1] Vallado, David A. Fundamentals of Astrodynamics and Applications. New York: McGraw-Hill, 1997.
[2] Fortescue, Peter, Graham Swinerd, and John Stark, eds. Spacecraft Systems Engineering, 3rd ed. West Sussex: Wiley & Sons, 2003.
[3] Tewari, Ashish. Atmospheric and Space Flight Dynamics Modeling and Simulation with MATLAB and Simulink. Boston. Birkhäuser, 2007.
Version History
Introduced in R2009b