linkIntervals
Intervals during which link is closed
Syntax
Description
Examples
Obtain Downlink Closed Intervals Between Satellite and Ground Station
Create a satellite scenario object.
startTime = datetime(2020,10,13,7,25,0);
stopTime = startTime + days(1);
sampleTime = 60; % seconds
sc = satelliteScenario(startTime,stopTime,sampleTime);
Add a satellite to the scenario.
semiMajorAxis = 10000000; % meters eccentricity = 0; inclination = 10; % degrees rightAscensionOfAscendingNode = 0; % degrees argumentOfPeriapsis = 0; % degrees trueAnomaly = 210; % degrees sat = satellite(sc,semiMajorAxis,eccentricity, ... inclination,rightAscensionOfAscendingNode, ... argumentOfPeriapsis,trueAnomaly);
Add a transmitter to the satellite.
tx = transmitter(sat);
Add a ground station to the scenario.
latitude = 0; % degrees longitude = 30; % degrees gs = groundStation(sc,latitude,longitude);
Add a receiver to the ground station.
rx = receiver(gs,"MountingAngles",[0; 180; 0]);
Create a downlink.
lnk = link(tx,rx);
Obtain the intervals table of the closed downlink.
intervals = linkIntervals(lnk)
intervals = 0x8 empty table
Input Arguments
lnk
— Link analysis
Link
object vector | Link
object scalar
Link analysis object, specified as a Link
object
vector or scalar.
Outputs Arguments
int
— Intervals during which link is closed
table
Intervals during which the link is closed, returned as a table.
Each row of the table denotes a specific interval, and the columns of the table are
named Source
, Target
,
IntervalNumber
, StartTime
,
EndTime
, Duration
(in seconds),
StartOrbit
, and EndOrbit
.
Source
and Target
are the names of the first and
last node, respectively, that define the link analysis.
If
Source
is directly or indirectly attached to a satellite, thenStartOrbit
andEndOrbit
correspond to the satellite associated withSource
.If
Target
is directly or indirectly attached to a satellite, thenStartOrbit
andEndOrbit
correspond to the satellite associated with theTarget
. Otherwise,StartOrbit
andEndOrbit
areNaN
because they are associated with ground stations.
Note
When AutoSimulate
of the satellite scenario is true
, the
intervals between StartTime
and StopTime
are returned. When it is false
, the intervals
between StartTime
and SimulationTime
are returned.
Version History
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
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)