Draw polygon around grid points
Mostrar comentarios más antiguos
Dear reader,
I want to draw polygon around a set of grid points. For clarity I have added a figure below

I need to draw a polygon around the edges of the smaller red dots in such a way that the larger orange dots are within the polygon. Preferably, all angles of the polygon are 90 degrees. So basically the polygon with the minimum surface area to include all orange points, if that makes sense
My question is whether this is possible, and if so, how to do this?
Many thanks in advance!
2 comentarios
Matt J
el 6 de Abr. de 2022
In what form is the input data given?
Michiel Smit
el 6 de Abr. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Bounding Regions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
