wrapTo180
Wrap angle in degrees to [-180, 180].
📝Syntax
beta = wrapTo180(alpha)
📥Input Arguments
Parameter Description
alpha angle in degrees: scalar, vector or matrix.
📤Output Arguments
Parameter Description
beta wrapped angle in degrees, in [-180, 180].
📄Description

wrapTo180(alpha) wraps angles in degrees to the interval [-180, 180]. Positive multiples of 180 map to 180, negative multiples map to -180.

💡Examples
wrapTo180([190 -190 360])
🔗See Also
wrapTo360wrapToPi
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub