| Mapping Toolbox | Search  Help Desk |
| antipode | Examples |
Determine the antipodes of a geographic point
Syntax
[newlat,newlong] = antipode(lat,long)
[newlat,newlong] = antipode(lat,long,units)
Description
[newlat,newlong] = antipode(lat,long) returns the geographic coordinates of the points exactly opposite on the globe from the input points given bylat and long.
[newlat,newlong] = antipode(lat,long,units) specifies the standard angle units string, where units is any valid angle units string. The default value is 'degrees'.
Examples
Given a point (43ºN, 15ºE), find its antipode:[newlat,newlong] = antipode(43,15)
newlat =
-43
newlong =
-165
or (43ºS, 165ºW). Perhaps the most obvious antipodal points are the North and South Poles. The command antipode demonstrates this:
[newlat,newlong] = antipode(90,0,'degrees')
newlat =
-90
newlong =
180
Note that in this case, longitudes are irrelevant because all meridians converge at the poles.