intrinsicToWorld

Transform intrinsic to planar world coordinates

Syntax

[xWorld,yWorld] = intrinsicToWorld(R,xIntrinsic,yIntrinsic)

Description

[xWorld,yWorld] = intrinsicToWorld(R,xIntrinsic,yIntrinsic) returns the planar world coordinates corresponding to intrinsic coordinates (xIntrinsic, yIntrinsic) in map raster R. If a point is outside the bounds of R, then intrinsicToWorld extrapolates the xWorld and yWorld coordinates.

Input Arguments

collapse all

Map raster, specified as a MapCellsReference or MapPostingsReference object.

x-coordinates in intrinsic coordinate system, specified as a numeric array. xIntrinsic coordinates can be outside the bounds of the raster R.

Data Types: single | double

y-coordinates in intrinsic coordinate system, specified as a numeric array. yIntrinsic is the same size as xIntrinsic. yIntrinsic coordinates can be outside the bounds of the raster R.

Data Types: single | double

Output Arguments

collapse all

x-coordinates in the world coordinate system, specified as a numeric array. xWorld is the same size as xIntrinsic. When xIntrinsic(k) is outside the bounds of R, intrinsicToWorld extrapolates the xWorld coordinate.

Data Types: double

y-coordinates in the world coordinate system, specified as a numeric array. yWorld is the same size as xIntrinsic. When yIntrinsic(k) is outside the bounds of R, intrinsicToWorld extrapolates the yWorld coordinate.

Data Types: double

Introduced in R2013b