Hauptinhalt

aod

R2026b

Angle of departure

Since R2026b

    Description

    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.

    Input Arguments

    collapse all

    Ray paths, specified as an array of RayPath objects.

    Angle units, specified as "degrees" or "radians".

    Output Arguments

    collapse all

    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.

    Version History

    Introduced in R2026b

    See Also

    Functions

    Objects