Aero.spacecraft.ThirdBodyOptions Properties
Third body options used by the Aero.spacecraft.NumericalPropagator object.
You also can specify any of the properties on this page using the thirdBodyOptions
function.
Option to include third body gravity, specified as false of
true.
Third body gravity source, specified as a string containing one or a combination of
"Sun", "Earth", "Moon",
"Mercury", "Venus", "Mars",
"Jupiter", "Saturn",
"Uranus", "Neptune", and
"Pluto".
Default Values
The default values are:
["Sun","Moon"]when the CentralBody property ofAero.spacecraft.CentralBodyOptionsis set to"Earth".["Sun","Earth"]when the CentralBody property ofAero.spacecraft.CentralBodyOptionsis set to"Moon".["Earth","Moon"]when the CentralBody property ofAero.spacecraft.CentralBodyOptionsis set to"Sun".["Sun","Earth","Moon"]in all other cases.
Third body properties for Sun, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Sun property has these values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of "Sun", specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Sun is included as a third body gravity source in the
ThirdBodyGravitySource property and Sun is
not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Mercury, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Mercury property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Mercury, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Mercury is included as a third body gravity source in the
ThirdBodyGravitySource property and
Mercury is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Venus, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Venus property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Venus, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Venus is included as a third body gravity source in the
ThirdBodyGravitySource property and Venus is
not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Earth, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function The Aero.spacecraft.ThirdBodyProperties object held by the
Earth property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Earth, specified as
"point-mass", "oblate-ellipsoid", or
"spherical-harmonics". |
"SphericalHarmonicModel" | Spherical harmonic model to be used when
|
"SphericalHarmonicDegree" | Spherical harmonic degree to be used when
|
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Earth is included as a third body gravity source in the
ThirdBodyGravitySource property and Earth
is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Moon, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Moon property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Moon, specified as
"point-mass", "oblate-ellipsoid", or
"spherical-harmonics". |
"SphericalHarmonicModel" | Spherical harmonic model to be used when
|
"SphericalHarmonicDegree" | Spherical harmonic degree to be used when
|
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Moon is included as a third body gravity source in the
ThirdBodyGravitySource property and Moon
is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Mars, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Mars property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Mars, specified as
"point-mass", "oblate-ellipsoid", or
"spherical-harmonics". |
"SphericalHarmonicModel" | Spherical harmonic model to be used when
|
"SphericalHarmonicDegree" | Spherical harmonic degree to be used when
|
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Mars is included as a third body gravity source in the
ThirdBodyGravitySource property and Mars
is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Jupiter, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Jupiter property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Jupiter, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Jupiter is included as a third body gravity source in the
ThirdBodyGravitySource property and
Jupiter is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Saturn, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Saturn property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Saturn, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Saturn is included as a third body gravity source in the
ThirdBodyGravitySource property and Saturn
is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Uranus, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Uranus property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Uranus, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Uranus is included as a third body gravity source in the
ThirdBodyGravitySource property and Uranus
is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Neptune, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function The Aero.spacecraft.ThirdBodyProperties object held by the
Neptune property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Neptune, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Neptune is included as a third body gravity source in the
ThirdBodyGravitySource property and
Neptune is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.
Third body properties for Pluto, specified as an
Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the
Pluto property has these property values.
"ThirdBody" | Third body name, specified as |
"GravitationalPotentialModel" | Gravitational potential model of Pluto, specified as
"point-mass" or
"oblate-ellipsoid" |
Dependencies
This property is visible only when IncludeThirdBodyGravity is
true, Pluto is included as a third body gravity source in the
ThirdBodyGravitySource property.
Version History
Introduced in R2026a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)