world2local

Convert world coordinates to local coordinates

Description

xyLocal = world2local(map,xy) converts an array of world coordinates to local coordinates.

Input Arguments

collapse all

Map representation, specified as a binaryOccupancyMap object.

World coordinates, specified as an n-by-2 vertical array of [x y] pairs, where n is the number of world coordinates.

Output Arguments

collapse all

Local coordinates, specified as an n-by-2 vertical array of [x y] pairs, where n is the number of local coordinates.

Introduced in R2019b