| Mapping Toolbox | ![]() |
Convert from Greenwich to equal area coordinates
Syntax
[x,y] = grn2eqa(lat,lon) [x,y] = grn2eqa(lat,lon,origin) [x,y] = grn2eqa(lat,lon,origin,geoid) [x,y] = grn2eqa(lat,lon,origin,units)[x,y] = grn2eqa(lat,lon,origin,geoid,units)mat = grn2eqa(lat,lon,origin...)
Description
This command converts data from Greenwich (latitude-longitude) coordinates to equal-area x-y coordinates. The opposite conversion can be performed with eqa2grn.
[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,geoid) specifies the two-element geoid vector describing the ellipsoidal model of the figure of the Earth. The geoid 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.
Examples
See Also
eqa2grn |
Convert from equal area to Greenwich coordinates |
hista |
Equal area histogram |
| gridm | gtextm | ![]() |