Filter löschen
Filter löschen

use of geodetic 2aer to calculate a satellite to ground receiver elevation angle

7 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

akshatsood
akshatsood am 5 Sep. 2023
Bearbeitet: akshatsood am 5 Sep. 2023
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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by