eastof - Wrap longitudes to values east of specified meridian

Syntax

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

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

lonWrapped = eastof(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 meridian+2*pi).

  


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