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