aer
Calculate azimuth angle, elevation angle, and range of another satellite or ground station in NED frame
Since R2021a
Syntax
Description
returns a 2-D array of the history of azimuth angles az
= aer(asset
,target
)az
, between
asset
and target
belonging to a given satelliteScenario
object.
[___] = aer(___,
returns the coordinateFrame
='ned')az
, el
, range
,
and timeOut
based on the specified output arguments and the coordinate
frame defined by the name-value argument.
Note
By default, the aer
function uses the north-east-down (NED)
system to perform all the calculations.
Examples
Determine AER of Ground Station
Create a satellite scenario object.
startTime = datetime(2021,4,25); % April 25, 2021, 12:00 AM UTC stopTime = datetime(2021,4,26); % April 26, 2021, 12:00 AM UTC sampleTime = 60; % seconds sc = satelliteScenario(startTime,stopTime,sampleTime);
Add a satellite to the scenario.
tleFile = "eccentricOrbitSatellite.tle";
sat = satellite(sc,tleFile);
Add a ground station to the scenario using default properties.
gs = groundStation(sc);
Determine the azimuth angle, elevation angle, and range of the ground station with respect to the satellite at April 25, 2021, 1:26 AM UTC.
time = datetime(2021,4,25,1,26,0); [azimuth,elevation,range] = aer(sat,gs,time)
azimuth = 15.2962
elevation = -70.3858
range = 1.3442e+07
Determine AER of Platform
Create a satellite scenario object.
startTime = datetime(2023,4,25); % April 25, 2023, 12:00 AM UTC stopTime = datetime(2023,4,26); % April 26, 2023, 12:00 AM UTC sampleTime = 60; % seconds sc = satelliteScenario(startTime,stopTime,sampleTime);
Add a satellite to the scenario.
tleFile = "eccentricOrbitSatellite.tle";
sat = satellite(sc,tleFile);
Add a platform to the scenario.
trajectory = geoTrajectory([40.6413,-73.7781,10600;32.3634,-64.7053,10600],[0,2*3600],AutoPitch=true,AutoBank=true); pltf = platform(sc,trajectory);
Determine the azimuth angle, elevation angle, and range of the platform with respect to the satellite at April 25, 2023, 1:26 AM UTC.
time = datetime(2023,4,25,1,26,0); [azimuth,elevation,range] = aer(sat,pltf,time)
azimuth = 0.8948
elevation = -81.0228
range = 4.0382e+07
Input Arguments
Output Arguments
Version History
Introduced in R2021a
See Also
Objects
Functions
show
|play
|access
|groundStation
|conicalSensor
|transmitter
|receiver
|platform
|hide