wrapTo180
在degr包角ees to [-180 180]
Syntax
Description
wraps angles inlonWrapped
= wrapTo180(lon
)lon
, in degrees, to the interval [–180, 180] such that 180 maps to 180 and –180 maps to –180. In general, odd, positive multiples of 180 map to 180 and odd, negative multiples of 180 map to –180.