# 計算

4 Ansichten (letzte 30 Tage)

Verschoben: Atsushi Ueno am 21 Mär. 2023
ISSとFENGYUN 1C DEB が最も接近する直前， ISSは日本上空を通過していることがわかった.

(通信できる状態であったか)確認しなさい. 通信可能な開始時間と終了時間を求めなさい.
startTime = datetime(2022,12,08,00,00,0);
stopTime = startTime + hours(12);
sampleTime = 5;
sc = satelliteScenario(startTime,stopTime,sampleTime);
sat = satellite(sc,"iss_orbit.tle");
rc=255/255;
gc=1/255;
bc=1/255;
sat(1).MarkerColor = [rc gc bc];
show(sat);
names = sat.Name + " Camera";
cam = conicalSensor(sat,"Name",names,"MaxViewAngle",90);
TrailTime=100, ...
LineWidth=3, LeadLineColor=[0 1 0], TrailLineColor=[1 0 1]);
ele1 = orbitalElements(sat(1));
ele2 = orbitalElements(sat(2));
ele3 = orbitalElements(sat(3));
disp(ele3);
time = datetime(2022,12,08,00,00,0);
[pos, vel] = states(sat(1),time,"CoordinateFrame","geographic");
disp(pos);
disp(vel);
name = ["Madrid Deep Space Communications Complex", ...
"Canberra Deep Space Communications Complex"];
lat = [40.43139, -35.40139];
lon = [-4.24806, 148.98167];
gs = groundStation(sc,"Name",name,"Latitude",lat, ...
"Longitude", lon, ...
"minElevationAngle", 0);
%access setting
ac1 = access(gs(1), sat);
ac2 = access(gs(2), sat);
% ac = access(gs(2), sat(1));
%interval status
intvls = accessIntervals(ac1);
disp(intvls);
%display FOV of camera
fieldOfView(cam);
time = datetime(2020,6,02,12,30,0);
[az,elev,r] = aer(gs(1),sat(1),time);
disp(az),
disp(elev);
disp(r);
play(sc);
このコードを活用して，軌道解析する
##### 2 KommentareKeine anzeigenKeine ausblenden
Atsushi Ueno am 21 Mär. 2023
Verschoben: Atsushi Ueno am 21 Mär. 2023
startTime = datetime(2023,3,5,22,49,45); % startTime = datetime(2022,12,08,00,00,0);
stopTime = startTime + minutes(3); % stopTime = startTime + hours(12);
sampleTime = 5; % sampleTime = 5;
sc = satelliteScenario(startTime,stopTime,sampleTime);
sat = satellite(sc,"iss_orbit.tle");
sat(1).MarkerColor = [255/255 1/255 1/255];
names = sat.Name + " Camera";
cam = conicalSensor(sat,"Name",names,"MaxViewAngle",90);
LineWidth=3, LeadLineColor=[0 1 0], TrailLineColor=[1 0 1]);
ele1 = orbitalElements(sat(1));
ele2 = orbitalElements(sat(2));
ele3 = orbitalElements(sat(3));
[pos, vel] = states(sat(1),"CoordinateFrame","geographic");
name = ["Madrid Deep Space Communications Complex", ...
"Canberra Deep Space Communications Complex"];
lat = [40.43139, -35.40139];
lon = [-4.24806, 148.98167];
gs = groundStation(sc,"Name",name,"Latitude",lat, ...
"Longitude", lon, "minElevationAngle", 0);
%access setting
ac1 = access(gs(1), sat);
ac2 = access(gs(2), sat);
% ac = access(gs(2), sat(1));
%interval status
intvls = accessIntervals(ac1);
disp(intvls);
%display FOV of camera
fieldOfView(cam);
time = datetime(2020,6,02,12,30,0);
[az,elev,r] = aer(gs(1),sat(1),time);
Atsushi Ueno am 21 Mär. 2023
Verschoben: Atsushi Ueno am 21 Mär. 2023

Melden Sie sich an, um zu kommentieren.

### Kategorien

Mehr zu MATLAB Compiler SDK のトラブルシューティング finden Sie in Help Center und File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!