このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。
eclipseIntervals
説明
interval_table = eclipseIntervals(eclipse_objects)interval_table を返します。各間隔中、入力ベクトル eclipse_objects 内の各日食オブジェクトに対応する日食ステータスはゼロ以外になります。 
例
衛星 sat と地上局 gs に日食解析オブジェクトを追加し、日食間隔 intvls を計算します。
衛星シナリオ オブジェクト sc を作成します。 
startTime = datetime(2023,4,20);
stopTime = startTime + days(1);
sampleTime = 10; % seconds
sc = satelliteScenario(startTime,stopTime,sampleTime);シナリオscに地上局gsを追加します。
gs = groundStation(sc, ... 1.038102, ... % latitude, degrees 135.980085); % longitude, degrees
シナリオscに衛星satを追加します。軌道伝播関数を二体ケプラーとして設定します。
sat = satellite(sc, ... 10000000, ... % semimajor axis, meters 0, ... % eccentricity 0, ... % inclination, degrees 0, ... % right ascension of ascending node, degrees 0, ... % argument of periapsis, degrees 0, ... % true anomaly, degrees OrbitPropagator="two-body-keplerian");
日食解析オブジェクトを地上局 gs に追加します。分析に月食を含めます。デフォルトでは、Eclipse モデルはデュアルコーン用です。
eclGs = eclipse(gs,IncludeLunarEclipse=true)
eclGs = 
  Eclipse with properties:
           EclipseModel: "dual-cone"
    IncludeLunarEclipse: 1
衛星 sat に日食解析オブジェクトを追加します。分析に月食を含めます。デフォルトでは、Eclipse モデルはデュアルコーン用です。
eclSat = eclipse(sat,IncludeLunarEclipse=true)
eclSat = 
  Eclipse with properties:
           EclipseModel: "dual-cone"
    IncludeLunarEclipse: 1
衛星および地上局オブジェクトのプロパティを検査します。Eclipse プロパティが空ではないことに注意してください。これは、Eclipse 分析が追加されたことを示しています。
Eclipse: [1x1 Aero.satellitescenario.Eclipse]
sat
sat = 
  Satellite with properties:
                  Name:  Satellite 2
                    ID:  2
        ConicalSensors:  [1x0 matlabshared.satellitescenario.ConicalSensor]
               Gimbals:  [1x0 matlabshared.satellitescenario.Gimbal]
          Transmitters:  [1x0 satcom.satellitescenario.Transmitter]
             Receivers:  [1x0 satcom.satellitescenario.Receiver]
              Accesses:  [1x0 matlabshared.satellitescenario.Access]
               Eclipse:  [1x1 Aero.satellitescenario.Eclipse]
           GroundTrack:  [1x1 matlabshared.satellitescenario.GroundTrack]
                 Orbit:  [1x1 matlabshared.satellitescenario.Orbit]
        CoordinateAxes:  [1x1 matlabshared.satellitescenario.CoordinateAxes]
       OrbitPropagator:  two-body-keplerian
           MarkerColor:  [0.059 1 1]
            MarkerSize:  6
             ShowLabel:  true
        LabelFontColor:  [1 1 1]
         LabelFontSize:  15
         Visual3DModel:  
    Visual3DModelScale:  1
gs
gs = 
  GroundStation with properties:
                 Name:  Ground station 1
                   ID:  1
             Latitude:  1.0381 degrees
            Longitude:  135.98 degrees
             Altitude:  0 meters
    MinElevationAngle:  0 degrees
       ConicalSensors:  [1x0 matlabshared.satellitescenario.ConicalSensor]
              Gimbals:  [1x0 matlabshared.satellitescenario.Gimbal]
         Transmitters:  [1x0 satcom.satellitescenario.Transmitter]
            Receivers:  [1x0 satcom.satellitescenario.Receiver]
             Accesses:  [1x0 matlabshared.satellitescenario.Access]
              Eclipse:  [1x1 Aero.satellitescenario.Eclipse]
       CoordinateAxes:  [1x1 matlabshared.satellitescenario.CoordinateAxes]
          MarkerColor:  [1 0.4118 0.1608]
           MarkerSize:  6
            ShowLabel:  true
       LabelFontColor:  [1 1 1]
        LabelFontSize:  15
ベクトル [eclGs eclSat] として指定される、両方の日食オブジェクトの日食間隔を計算します。
intvls = eclipseIntervals(eclSat)
intvls=12×9 table
        Asset         EclipsingBody      IntervalNumber         StartTime                EndTime           Duration    MinimumEclipseStatus    StartOrbit    EndOrbit
    _____________    ________________    ______________    ____________________    ____________________    ________    ____________________    __________    ________
    "Satellite 2"    "Earth"                    1          20-Apr-2023 01:17:50    20-Apr-2023 01:53:10      2120                  0               1            1    
    "Satellite 2"    "Moon"                     2          20-Apr-2023 02:43:30    20-Apr-2023 02:56:40       790            0.87839               1            2    
    "Satellite 2"    "Earth"                    3          20-Apr-2023 04:03:50    20-Apr-2023 04:39:10      2120                  0               2            2    
    "Satellite 2"    "Moon"                     4          20-Apr-2023 05:53:50    20-Apr-2023 06:49:40      3350            0.17465               3            3    
    "Satellite 2"    "Earth and Moon"           5          20-Apr-2023 06:49:40    20-Apr-2023 06:51:20       100                  0               3            3    
    "Satellite 2"    "Earth"                    6          20-Apr-2023 06:51:20    20-Apr-2023 07:25:00      2020                  0               3            3    
    "Satellite 2"    "Earth"                    7          20-Apr-2023 09:35:40    20-Apr-2023 10:11:00      2120                  0               4            4    
    "Satellite 2"    "Earth"                    8          20-Apr-2023 12:21:30    20-Apr-2023 12:56:50      2120                  0               5            5    
    "Satellite 2"    "Earth"                    9          20-Apr-2023 15:07:30    20-Apr-2023 15:42:50      2120                  0               6            6    
    "Satellite 2"    "Earth"                   10          20-Apr-2023 17:53:20    20-Apr-2023 18:28:40      2120                  0               7            7    
    "Satellite 2"    "Earth"                   11          20-Apr-2023 20:39:20    20-Apr-2023 21:14:40      2120                  0               8            8    
    "Satellite 2"    "Earth"                   12          20-Apr-2023 23:25:10    21-Apr-2023 00:00:00      2090                  0               9            9    
入力引数
出力引数
太陽掩蔽間隔表がテーブルとして返されます。表の各行は特定の間隔を表します。
| 列 | 説明 | 
|---|---|
| 
 | 太陽掩蔽が観測される  | 
| 
 | 太陽を掩蔽する天体(地球、月、または地球と月)の名前。 | 
| 
 | 
 | 
| 
 | 間隔の開始時刻。 | 
| 
 | 間隔の終了時刻。 | 
| 
 | 間隔の継続時間(秒単位で返されます)。 | 
| 
 | 間隔内の最小日食ステータス。 | 
| 
 | 間隔開始時間に対応するシナリオ開始時間からカウントされた軌道番号。地上局の場合、この値は  | 
| 
 | シナリオ開始時間から区間終了時間までカウントされた軌道番号。地上局の場合、この値は  | 
制限
- この関数は以下を無視します: - 大気の屈折。 
- 太陽光の通過時間が遅れます。 
 
- この関数は、地球、月、太陽が球形の形状を持ち、その半径が赤道半径に等しいことを前提としています。 
- 太陽掩蔽間隔表の - EclipsingBodyの値が- Earth and Moonの場合、- MinimumEclipseStatusの予測値は実際の値よりも低くなります。
バージョン履歴
R2023b で導入
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)