Mapping Toolbox Previous page   Next Page
eqa2grn

Convert from equal area to Greenwich coordinates

Syntax

[lat,lon] = eqa2grn(x,y) converts the equal-area coordinate points x and y to the Greenwich coordinates lat and lon.

[lat,lon] = eqa2grn(x,y,origin) specifies the location in the Greenwich system of the x-y origin (0,0). The two-element vector origin must be of the form [latitude longitude]. The default places the origin at the Greenwich coordinates (0º,0º).

[lat,lon] = eqa2grn(x,y,origin,ellipsoid) specifies the two-element ellipsoid vector describing the ellipsoidal model of the figure of the Earth. The ellipsoid is spherical by default.

[lat,lon] = eqa2grn(x,y,origin,units) specifies the units for the outputs, where units is any valid angle units string. The default value is 'degrees'.

mat = eqa2grn(x,y,origin...) packs the outputs into a single variable.

Description

This function converts data from equal-area x-y coordinates to Greenwich (latitude-longitude) coordinates. The opposite conversion can be performed with grn2eqa.

Examples

See Also

grn2eqa
Convert Greenwich coordinates to equal-area coordinates
hista
Equal area histogram


Previous page  epsm etopo5 Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS