フィルターのクリア

ground station to satellite lat lon line

5 ビュー (過去 30 日間)
John
John 2022 年 8 月 30 日
コメント済み: Chunru 2022 年 8 月 31 日
I have a lat, lon, alt for a ground station and a lat, lon, alt for a satellite.
I want to show a line connecting the ground station and satellite. I want the line to be in LLA space so I can plot it on the same surface map as the ground station. I've computer the az,el but not sure how to get that as a vector in LLA space.
Edit: I've attempted to use geoglobe but get an error related to my graphics card. Anyway to use the geoplot3 function without a globe? I would like to plot the line on a surface plot where I have terrain data. I'm going to eventually look for terrain intersections.
Thanks for your help, John

回答 (1 件)

Chunru
Chunru 2022 年 8 月 31 日
編集済み: Chunru 2022 年 8 月 31 日
% Coordinates of the satellite and ground station
p.lat = [10 10.1]; p.lon=[40 42]; p.alt=[10000 100];
% Use geoglobe
uif = uifigure;
g = geoglobe(uif);
geoplot3(g, p.lat, p.lon, p.alt, "LineWidth", 2)
  2 件のコメント
John
John 2022 年 8 月 31 日
編集済み: John 2022 年 8 月 31 日
Sorry, I should have mentioned that I've attempted to use geoglobe but get an error related to my graphics card. Anyway to use the geoplot3 function without a globe? I would like to plot the line on a surface plot where I have terrain data. Thanks
Chunru
Chunru 2022 年 8 月 31 日
geoplot3 works only on globe.
One work around is to use surf for mapping data (with elevation) and use plot3 for the points in 3D.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by