westof - Wrap longitudes to values west of specified meridian

Syntax

lonWrapped = westof(lon,meridian)
lonWrapped = westof(lon,meridian,angleunits)

lonWrapped = westof(lon,meridian) wraps angles in lon to values in the interval (meridian-360 meridian]. lon is a scalar longitude or vector of longitude values. All inputs and outputs are in degrees.

lonWrapped = westof(lon,meridian,angleunits) specifies the input and output units with the string angleunits. angleunits can be either 'degrees' or 'radians'. It may be abbreviated and is case-insensitive. If angleunits is 'radians', the input is wrapped to the interval (meridian-2*pi meridian].

  


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