how to find maximum distance of convex polygon for each point in a convex hull?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Arpita Ghosh 16MCS0004
el 31 de Oct. de 2017
Respondida: Bruno Luong
el 2 de En. de 2019
matlab code to find the largest distance from each point in a convex hull
0 comentarios
Respuesta aceptada
Walter Roberson
el 31 de Oct. de 2017
boundary() to find the points that correspond to the convex hull. Use the indices returned to extract the points. pdist2() from each point you wish to test to each point on the hull. squareform() and max()
0 comentarios
Más respuestas (1)
Bruno Luong
el 2 de En. de 2019
This is a method that provides the maximum distance that has better complexity than computing distance of all pairs as other answer
0 comentarios
Ver también
Categorías
Más información sobre Bounding Regions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!