eastof - Wrap longitudes to values east of specified meridian
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) |
Syntax
lonWrapped = eastof(lon,meridian)
lonWrapped = eastof(lon,meridian,angleunits)
Description
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 |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit