Main Content
antipode
Point on opposite side of globe
Syntax
[newlat,newlon] = antipode(lat,lon)
[newlat,newlon] = antipode(lat,lon,angleunits)
Description
[newlat,newlon] = antipode(lat,lon)
returns
the geographic coordinates of the points exactly opposite on the globe
from the input points given by lat
and lon
.
All angles are in degrees.
[newlat,newlon] = antipode(lat,lon,angleunits)
where angleunits
specifies
the input and output units as either 'degrees'
or 'radians'
.
It can be abbreviated and is case-insensitive.
Examples
Version History
Introduced before R2006a