beta = wrapTo180(alpha)
| Parameter | Description |
|---|---|
| alpha | angle in degrees: scalar, vector or matrix. |
| Parameter | Description |
|---|---|
| beta | wrapped angle in degrees, in [-180, 180]. |
wrapTo180(alpha) wraps angles in degrees to the interval [-180, 180]. Positive multiples of 180 map to 180, negative multiples map to -180.
wrapTo180([190 -190 360])
| Version | Description |
|---|---|
| 2.0.0 | initial version |