Main Content
compassAngle
Description
returns the compass angles in the north-east-down (NED) reference frame based on the
C
= compassAngle(orientations
)orientations
. Compass angles are counter-clockwise angles from north
of the reference frame to the x-directions of the frames defined by
orientations
. See Compass Angle for more details.
specifies the reference frame as the C
= compassAngle(orientations
,RF
)"NED"
(north-east-down) or
"ENU"
(east-north-up) reference frame.
Examples
Input Arguments
Output Arguments
More About
References
[1] Gade, Kenneth. “The Seven Ways to Find Heading.” Journal of Navigation, vol. 69, no. 5, Sept. 2016, pp. 955–70.
Extended Capabilities
Version History
Introduced in R2023b
See Also
gravitydir
| tilt
| linaccel