Main Content

local2world

Convert local coordinates to world coordinates

Description

xyWorld= local2world(map,xy)converts an array of local coordinates to world coordinates

Input Arguments

collapse all

Map representation, specified as aoccupancyMap,mapLayer, ormultiLayerMapobject.

Local coordinates, specified as ann-by-2 matrix of[xy]pairs, wherenis the number of world coordinates.

Data Types:double

Output Arguments

collapse all

World coordinates, specified as ann-by-2 matrix of[xy]pairs, wherenis the number of world coordinates.

Data Types:double

Introduced in R2019b