Borrar filtros
Borrar filtros

Create the smallest polygon enclosing set of points

12 visualizaciones (últimos 30 días)
Daniel Turon
Daniel Turon el 10 de Jun. de 2022
Comentada: Daniel Turon el 10 de Jun. de 2022
I have a list of x and y points from which Im wanting to create a polygon that encloses. The issue falls in that many of the points will be points lying in the middle of the polygon rather than the edges. And so the following code..
P = [convVertX(:),convVertY(:)];
k = polyshape(P);
plot(k)
gives

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de Jun. de 2022
See boundary()

Más respuestas (0)

Categorías

Más información sobre Elementary Polygons en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by