Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

wrapTo180 - Wrap angle in degrees to [-180 180]

Syntax

lonWrapped = wrapTo180(lon)

Description

lonWrapped = wrapTo180(lon) wraps angles in 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.)

See Also

wrapTo360, wrapTo2Pi, wrapToPi

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS