Mapping Toolbox Previous page   Next Page
grn2eqa

Convert from Greenwich to equal area coordinates

Syntax

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

[x,y] = grn2eqa(lat,lon,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º).

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

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

mat = grn2eqa(lat,lon,origin...) packs the outputs into a single variable.

Description

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

Examples

See Also

eqa2grn
Convert from equal area to Greenwich coordinates
hista
Equal-area histogram


Previous page  grid2image gshhs 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