thirdBodyOptions
Description
returns the opt = thirdBodyOptions(options)Aero.spacecraft.ThirdBodyOptions object
opt with the current settings stored in the
ThirdBodyOptions property of the Aero.spcecraft.NumericalpropagatorOptions object.
updates theopt = thirdBodyOptions(___, Name=Value)Aero.spacecraft.ThirdBodyOptions object
opt using additional parameters specified by one or more name-value
arguments..
Input Arguments
Third body options used in numerical propagation, specified as a scalar Aero.spcecraft.NumericalpropagatorOptions object.
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN, where Name is
the argument name and Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: IncludeThirdBodyGravity = true sets option to include third
body gravity to true.
Option to include third body gravity, specified as false or
true.
Default Value
The default value is the current value of
ThirdBodyGravitySource property of the
ThirdBodyOptions property held by opt.
Third body gravity source, specified as a string containing one or a combination
of "Sun", "Moon", "Earth",
"Mercury", "Venus", "Mars",
"Jupiter", "Saturn",
"Uranus", "Neptune", and
"Pluto".
Default Value
The default value is the current value of the
ThirdBodyGravitySource property within the ThirdBodyOptions property of options.
Dependencies
To use this input, set the
IncludeThirdBodyGravityproperty totrue.If you specify the CentralBody property in CentralBodyOptions as a third body gravity source, the corresponding element in
ThirdBodyGravitySourceis omitted.
Gravitational potential model of Sun, specified as "point-mass"
or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Sun property of the ThirdBodyOptions property in options.
Dependencies
This input is available when IncudeThirdBodyGravity is set
to true and "Sun" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Mercury, specified as
"point-mass" or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Mercury property of the ThirdBodyOptions property in options.
Dependencies
This input is available when IncudeThirdBodyGravity is set
to true and "Mercury" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Venus, specified as "point-mass"
or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyParameters object, held by the
Venus property of the ThirdBodyOptions property in options.
Dependencies
This input is available when IncudeThirdBodyGravity is set
to true and "Venus" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Earth, specified as
"point-mass", "oblate-ellipsoid", or
"spherical-harmonics".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Earth property of the ThirdBodyOptions property in options.
Spherical harmonic model of Earth, specified as "EGM2008",
"EGM96", or "EIGENGL04C".
Default Value
The default value is the current value of the
SphericalHarmonicModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Earth property of the Earth property in
options.
Dependencies
This input is use when the EarthGravitationalPotentialModel
input is set to "spherical-harmonics".
Degree of spherical harmonic gravitational potential of Earth, specified as a
positive integer scalar. The maximum values are 2159 for "EGM2008"
and 360 for "EGM96" and "EIGENGL04C".
Default Value
The default value is the current value of the
SphericalHarmonicDegree property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Earth property of the Earth property in
options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true, "Earth" is specified as an element in
ThirdBodyGravitySource, the
EarthGravitationalPotentialModel input is set to
"spherical-harmonics".
Gravitational potential model of Moon, specified as
"point-mass", "oblate-ellipsoid", or
"spherical-harmonics".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Moon property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "Moon" is an element in
ThirdBodyGravitySource.
Degree of spherical harmonic gravitational potential model of Moon, specified as a
positive integer scalar. The maximum value is 100 for LP100K and
165 for LP165P.
Default Value
The default value is the current value of the
SphericalHarmonicDegree property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Moon property of the ThirdBodyOptions
property in options.
Dependencies
This input is available when the
MoonGravitationalPotentialModel input is set to
"spherical-harmonics".
Gravitational potential model of Mars, specified as
"point-mass", "spherical-harmonics", or
"oblate-ellipsoid".
When the input is "spherical-harmonics", the
GMM2B spherical harmonic model is used.
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Mars property of the ThirdBodyOptions property in options.
Spherical harmonic gravitational potential model of Mars, specified as a positive
integer scalar. The maximum value is 100 for LP100K and 165 for
LP165P.
Default Value
The default value is the current value of the
SphericalHarmonicDegree property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Mars property of the ThirdBodyOptions
property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true, "Mars" is an element in
ThirdBodyGravitySource and
MarsGravitationalPotentialModel input is set to
"spherical-harmonics".
Gravitational potential model of Jupiter, specified as
"point-mass" or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Jupiter property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "Jupiter" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Saturn, specified as
"point-mass" or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Saturn property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "saturn" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Uranus, specified as
"point-mass" or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Uranus property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "Uranus" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Neptune, specified as
"point-mass" or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the Aero.spacecraft.ThirdBodyProperties object, held by the
Uranus property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "Neptune" is an element in
ThirdBodyGravitySource.
Gravitational potential model of Pluto, specified as "point-mass"
or "oblate-ellipsoid".
Default Value
The default value is the current value of the
GravitationalPotentialModel property of the
Aero.spacecraft.ThirdBodyProperties object, held by the
Pluto property of the ThirdBodyOptions property in options.
Dependencies
This input is used when IncludeThirdBodyGravity is set to
true and "Pluto" is an element in
ThirdBodyGravitySource.
Output Arguments
Third body options, specified as an Aero.spacecraft.ThirdBodyOptions
object.
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- 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)