[___] = gimbalAngles(gimbal,timeIn)
returns column vectors of gimbal azimuth and gimbal elevation of gimbals defined in the
vector gimbal at the specified time timeIn,
depending on the specified output arguments.
[az,el,timeOut] = gimbalAngles(gimbal)
returns gimbal azimuth, gimbal elevation, and corresponding time in UTC.
startTime = datetime(2020,10,10); % 10 October 2020, 12:00 AM UTC
stopTime = datetime(2020,10,11); % 11 October 2020, 12:00 AM UTC
sampleTime = 60; % seconds
sc = satelliteScenario(startTime,stopTime,sampleTime);
Gimbal object whose steering angle is being calculated, specified as either a scalar
or a vector.
timeIn — Time at which output is calculated datetime scalar
Time at which the output is calculated, specified as a datetime scalar. If
no time zone is specified in timeIn, the time zone is assumed to be
Universal Time Coordinated (UTC).
Gimbal azimuth histories of gimbals in degrees, returned as an array in the range
[-180,180]. Each row corresponds to a gimbal in gimbal, and each
column corresponds to a time sample. This represents the angle of rotation of the gimbal
about its y-axis.
Gimbal elevation histories of gimbals in degree, returned as an array in the range
[0,180]. This represents the angle of rotation of the gimbal about its
y-axis. Each row corresponds to a gimbal in
gimbal, and each column corresponds to a time sample. This
represents the angle of rotation of the gimbal about its x-axis.
timeOut — Time samples between start and stop time of scenario scalar | vector
Time samples between start and stop time of the scenario, returned as a scalar or
vector. If az and el histories are returned,
timeOut is a row vector.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.