| Mapping Toolbox™ | ![]() |
Note The eastof function is obsolete and will be removed in a future release of Mapping Toolbox™ software. Replace it with the following calls, which are also more efficient: eastof(lon,meridian,'degrees') ==> meridian+mod(lon-meridian,360) eastof(lon,meridian,'radians') ==> meridian+mod(lon-meridian,2*pi)
|
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).
![]() | dteds | ecc2flat | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |