Satellite object belonging to satellite scenario
Satellite defines a satellite object belonging to a satellite scenario.
You can create Satellite objects using the satellite
method of satelliteScenario
.
Orbit
— Orbit graphicOrbit
objectOrbit object parameters for a satellite, specified as an orbit
object. Only these object properties are relevant for this function.
LineColor
— Color of orbit[1,0,0]
(default) | RGB triplet | hexadecimal color code | 'r'
| 'g'
| 'b'
Color of the orbit, specified as an RGB triplet, hexadecimal color code, a color name, or a short name.
For a custom color, specify an RGB triplet or a hexadecimal color code.
An RGB triplet is a three-element row vector whose elements
specify the intensities of the red, green, and blue
components of the color. The intensities must be in the
range [0,1]
; for example, [0.4
0.6 0.7]
.
A hexadecimal color code is a character vector or a string
scalar that starts with a hash symbol (#
)
followed by three or six hexadecimal digits, which can range
from 0
to F
. The
values are not case sensitive. Thus, the color codes
'#FF8800'
,
'#ff8800'
,
'#F80'
, and
'#f80'
are equivalent.
Alternatively, you can specify some common colors by name. This table lists the named color options, the equivalent RGB triplets, and hexadecimal color codes.
Color Name | Short Name | RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|---|---|
'red' | 'r' | [1 0 0] | '#FF0000' | |
'green' | 'g' | [0 1 0] | '#00FF00' | |
'blue' | 'b' | [0 0 1] | '#0000FF' | |
'cyan'
| 'c' | [0 1 1] | '#00FFFF' | |
'magenta' | 'm' | [1 0 1] | '#FF00FF' | |
'yellow' | 'y' | [1 1 0] | '#FFFF00' | |
'black' | 'k' | [0 0 0] | '#000000' | |
'white' | 'w' | [1 1 1] | '#FFFFFF' | |
'none' | Not applicable | Not applicable | Not applicable | No color |
Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB® uses in many types of plots.
RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|
[0 0.4470 0.7410] | '#0072BD' | |
[0.8500 0.3250 0.0980] | '#D95319' | |
[0.9290 0.6940 0.1250] | '#EDB120' | |
[0.4940 0.1840 0.5560] | '#7E2F8E' | |
[0.4660 0.6740 0.1880] | '#77AC30' | |
[0.3010 0.7450 0.9330] | '#4DBEEE' | |
[0.6350 0.0780 0.1840] | '#A2142F' |
Example: 'blue'
Example: [0 0 1]
Example: '#0000FF'
LineWidth
— Visual width of orbit1
(default) | scalar in the range (0, 10)Visual width of orbit in pixels, specified as a scalar in the range (0, 10).
The line width cannot be thinner than the width of a pixel. If you set the line width to a value that is less than the width of a pixel on your system, the line displays as one pixel wide.
VisibilityMode
— Visibility mode of orbit graphic'inherit'
(default) | 'manual'
Visibility mode of orbit graphic, specified as one of these values:
'inherit'
— Visibility of the graphic matches that of
the parent
'manual'
— Visibility of the graphic is not inherited
and is independent of that of the parent
Data Types: char
| string
Accesses
— Access analysis objectsAccess
objectsYou can set this property only when calling Satellite. After you call Satellite, this property is read-only.
Access analysis objects, specified as a row vector of
Access
objects.
MarkerColor
— Color of marker[1 0 0]
(default) | RGB triplet
| string scalar of color name
| character vector of color name
Color of the marker, specified as a comma-separated pair consisting of
'MarkerColor'
and either an RGB triplet or a string or
character vector of a color name.
For a custom color, specify an RGB triplet or a hexadecimal color code.
An RGB triplet is a three-element row vector whose elements
specify the intensities of the red, green, and blue
components of the color. The intensities must be in the
range [0,1]
; for example, [0.4
0.6 0.7]
.
A hexadecimal color code is a character vector or a string
scalar that starts with a hash symbol (#
)
followed by three or six hexadecimal digits, which can range
from 0
to F
. The
values are not case sensitive. Thus, the color codes
'#FF8800'
,
'#ff8800'
,
'#F80'
, and
'#f80'
are equivalent.
Alternatively, you can specify some common colors by name. This table lists the named color options, the equivalent RGB triplets, and hexadecimal color codes.
Color Name | Short Name | RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|---|---|
'red' | 'r' | [1 0 0] | '#FF0000' | |
'green' | 'g' | [0 1 0] | '#00FF00' | |
'blue' | 'b' | [0 0 1] | '#0000FF' | |
'cyan'
| 'c' | [0 1 1] | '#00FFFF' | |
'magenta' | 'm' | [1 0 1] | '#FF00FF' | |
'yellow' | 'y' | [1 1 0] | '#FFFF00' | |
'black' | 'k' | [0 0 0] | '#000000' | |
'white' | 'w' | [1 1 1] | '#FFFFFF' | |
'none' | Not applicable | Not applicable | Not applicable | No color |
Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB uses in many types of plots.
RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|
[0 0.4470 0.7410] | '#0072BD' | |
[0.8500 0.3250 0.0980] | '#D95319' | |
[0.9290 0.6940 0.1250] | '#EDB120' | |
[0.4940 0.1840 0.5560] | '#7E2F8E' | |
[0.4660 0.6740 0.1880] | '#77AC30' | |
[0.3010 0.7450 0.9330] | '#4DBEEE' | |
[0.6350 0.0780 0.1840] | '#A2142F' |
MarkerSize
— Size of marker10
(default) | positive scalar less than 30Size of the marker, specified as a comma-separated pair consisting of
'MarkerSize'
and a real positive scalar less than 30. The unit
is in pixels.
ShowLabel
— State of Satellite label visibilitytrue
or
1
(default) | false
or 0
State of Satellite label visibility, specified as a
comma-separated pair consisting of
'ShowLabel'
and numerical or
logical value of 1
(true
) or 0
(false
).
Data Types: logical
LabelFontSize
— Font size of Satellite label15
(default) | positive scalar less than 30Font size of the Satellite label, specified as a comma-separated pair consisting of
'LabelFontSize'
and a positive scalar less than
30
.
LabelFontColor
— Font color of Satellite label[1,0,0]
(default) | RGB triplet
| string scalar of color name
| character vector of color name
Font color of the Satellitelabel, specified as a comma-separated pair consisting of
'LabelFontColor'
and either an RGB triplet or a string or
character vector of a color name.
For a custom color, specify an RGB triplet or a hexadecimal color code.
An RGB triplet is a three-element row vector whose elements
specify the intensities of the red, green, and blue
components of the color. The intensities must be in the
range [0,1]
; for example, [0.4
0.6 0.7]
.
A hexadecimal color code is a character vector or a string
scalar that starts with a hash symbol (#
)
followed by three or six hexadecimal digits, which can range
from 0
to F
. The
values are not case sensitive. Thus, the color codes
'#FF8800'
,
'#ff8800'
,
'#F80'
, and
'#f80'
are equivalent.
Alternatively, you can specify some common colors by name. This table lists the named color options, the equivalent RGB triplets, and hexadecimal color codes.
Color Name | Short Name | RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|---|---|
'red' | 'r' | [1 0 0] | '#FF0000' | |
'green' | 'g' | [0 1 0] | '#00FF00' | |
'blue' | 'b' | [0 0 1] | '#0000FF' | |
'cyan'
| 'c' | [0 1 1] | '#00FFFF' | |
'magenta' | 'm' | [1 0 1] | '#FF00FF' | |
'yellow' | 'y' | [1 1 0] | '#FFFF00' | |
'black' | 'k' | [0 0 0] | '#000000' | |
'white' | 'w' | [1 1 1] | '#FFFFFF' | |
'none' | Not applicable | Not applicable | Not applicable | No color |
Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB uses in many types of plots.
RGB Triplet | Hexadecimal Color Code | Appearance |
---|---|---|
[0 0.4470 0.7410] | '#0072BD' | |
[0.8500 0.3250 0.0980] | '#D95319' | |
[0.9290 0.6940 0.1250] | '#EDB120' | |
[0.4940 0.1840 0.5560] | '#7E2F8E' | |
[0.4660 0.6740 0.1880] | '#77AC30' | |
[0.3010 0.7450 0.9330] | '#4DBEEE' | |
[0.6350 0.0780 0.1840] | '#A2142F' |
Name
— Satellite name"Satellite
idx"
(default) | string scalar | string vector | character vector | cell array of character vectorsYou can set this property only when calling Satellite. After you call Satellite, this property is read-only.
Satellite name, specified as a comma-separated pair consisting of
'Name'
and a string scalar, string vector, character vector or a cell
array of character vectors.
If only one Satellite is added, specify Name
as a string
scalar or a character vector.
If multiple Satellites are added, specify Name
as a string
vector or a cell array of character vectors. The number of elements in the string vector
or cell array must be equal to the number of satellites being added.
In the default value, idx is the count of the Satellite
added by the Satellite
object function. If another Satellite of the
same name exists, a suffix _idx2 is added, where
idx2 is an integer that is incremented by 1
starting from 1 until the name duplication is resolved.
Data Types: char
| string
ID
— Satellite ID assigned by simulatorThis property is set internally by the simulator and is read-only.
Satellite ID assigned by the simulator, specified as a positive scalar.
ConicalSensors
— Conical sensorsYou can set this property only when calling
conicalSensor
. After you call conicalSensor
, this property is
read-only.
Conical sensors attached to the Satellite, specified as a row vector of conical sensors.
OrbitPropagator
— Name of orbit propagator"sgp4"
(default) | "two-body-keplerian"
| "sdp4"
| "ephemeris"
You can set this property when calling satellite
only. After you call satellite
, this property is read-only.
Name of the orbit propagator used for propagating satellite position and velocity, specified
as the comma-separated pair consisting of
'OrbitPropagator'
and either
"two-body-keplerian"
, "sgp4"
,
"sdp4"
, or "ephemeris"
.
OrbitPropagator
is not available for ephemeris data inputs
(timetable
or
timeseries
). In these cases,
satellite
ignores this name-value
pair.
Data Types: string
| char
access | Add access analysis objects to satellite scenario |
states | Position and velocity of satellite |
conicalSensor | Add conical sensor to satellite scenario |
pointAt | Target at which entity must be pointed |
gimbal | Add gimbal to satellite scenario |
show | Show object in the Satellite Scenario Viewer |
aer | Calculate azimuth angle, elevation angle, and range in NED frame from another satellite or ground station |
hide | Hides satellite scenario entity from viewer |
groundTrack | Add ground track object to satellite in scenario |
orbitalElements | Orbital elements of satellites in scenario |
1. Если смысл перевода понятен, то лучше оставьте как есть и не придирайтесь к словам, синонимам и тому подобному. О вкусах не спорим.
2. Не дополняйте перевод комментариями “от себя”. В исправлении не должно появляться дополнительных смыслов и комментариев, отсутствующих в оригинале. Такие правки не получится интегрировать в алгоритме автоматического перевода.
3. Сохраняйте структуру оригинального текста - например, не разбивайте одно предложение на два.
4. Не имеет смысла однотипное исправление перевода какого-то термина во всех предложениях. Исправляйте только в одном месте. Когда Вашу правку одобрят, это исправление будет алгоритмически распространено и на другие части документации.
5. По иным вопросам, например если надо исправить заблокированное для перевода слово, обратитесь к редакторам через форму технической поддержки.