Main Content

World coordinates of raster elements

`[`

,
where `X`

,`Y`

] = worldGrid(`R`

,`gridOption`

)`gridOption`

is `'gridvectors'`

, returns
`X`

and `Y`

as row vectors. The coordinates of
raster element `(i,j)`

are `(X(j),Y(i))`

. The default for
`gridOption`

is `'fullgrid'`

, which returns
`X`

and `Y`

as 2-D arrays.