wrapTo360
Wrap angle in degrees to [0 360]
Syntax
Description
wraps angles inlonWrapped
= wrapTo360(lon
)lon
, in degrees, to the interval [0, 360] such that 0 maps to 0 and 360 maps to 360. In general, positive multiples of 360 map to 360 and negative multiples of 360 map to zero.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Introduced in R2007b