use of geodetic 2aer to calculate a satellite to ground receiver elevation angle
7 次查看(过去 30 天)
显示 更早的评论
hi,
I'm trying to calculate elevation and azimuth angles of a satellite to ground receiver. I have the lla coordinates of satellite and recever. Now I'm confused to use [az, elev, slantRange] = geodetic2aer( ...lat, lon, h, lat0, lon0, h0, spheroid, angleUnit) whic one is lat and which one is lat0 and the others sameway. Can you help me?
lat_receiver= 39.99;%degree
lon_receiver= 32.8;%degree
height_receiver= 0;%meter
lat_geosat= 53.0;%degree
lon_geosat= -26.9081;%degree
height_geosat= 2.0138e+07;%meter
0 个评论
采纳的回答
akshatsood
2023-9-5
编辑:akshatsood
2023-9-5
Hi ysm,
I understand that you are facing issues while utilizing geodetic2aer function. As per the documentation page, it is defined as follows
[az,elev,slantRange] = geodetic2aer(lat,lon,h,lat0,lon0,h0,spheroid)
In reference to your code, lat0, lon0 and h0 correspond to lat_receiver, lon_receiver and height_receiver while lat, lon and h correspond to lat_geosat, lon_geosat and height_geosat. For identification of the parameters, I have positioned the receiver at the origin of the local AER system and transformed the geodetic coordinates of the satellite to the local azimuth-elevation-range (AER) spherical coordinates specified by az, elev, and slantRange. Here is the code snippet for your reference
spheroid = referenceEllipsoid('GRS 80'); % referenceEllipsoid object
[az,elev,slantRange] = geodetic2aer(lat_geosat,lon_geosat,height_geosat, ...
lat_receiver,lon_receiver,height_receiver,spheroid)
Have a look at the below documentation page for better understanding
I hope this helps.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Coordinate Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!