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!