Main Content
worldToDiscrete
Transform planar world to discrete coordinates
Description
[
returns the indices corresponding to world coordinates I
,J
] = worldToDiscrete(R
,xWorld
,yWorld
)xWorld
and yWorld
in map raster R
. If
R.RasterInterpretation
is:
'cells'
, thenI
andJ
are the row and column subscripts of the raster cells (or image pixels)'postings'
, thenI
andJ
refer to the nearest sample point (posting)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2013b