Add-On Required: This feature requires the 3D Scenarios add-on.
[az,el] = aod(raypath)
returns the azimuth and elevation angles of departure for each ray path. The angles are with
respect to the local frame of the source actors.
[az,el] = aod(raypath,Units=units)
specifies the angle units as degrees or radians. By default, the function returns angles in
degrees.
Azimuth angles of departure, returned as an array of the same size as
raypath. The angles are with respect to the local frame of the
source actors. Azimuth is measured counterclockwise from the forward vector in the plane
defined by the forward and right vectors.
Elevation angles of departure, returned as a scalar or a vector of the same size as
raypath. The angles are with respect to the local frame of the
source actors. Elevation is measured from the azimuth plane, where positive values
indicate the direction of the local frame up vector.