remotest(points,boundary)
Given a set of points and a boundary, this function finds the position within or on the boundary that is most distant from the nearest point the set.
Some possible applications:
- Find the point farthest from a city, airport, radio mast, ....
- Find the point on an island farthest from the sea
Empirically, the order is closer to O(n) than to O(n log(n)).
Citar como
Are Mjaavatten (2024). remotest(points,boundary) (https://www.mathworks.com/matlabcentral/fileexchange/61886-remotest-points-boundary), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
2.2.0.0 | Added option for finding interior points only, excluding points on the boundary. |
||
2.1.0.0 | Six times faster than version 2.0 |
||
2.0.0.0 | New algorithm: 40 to 70 % faster. Algorithm philosophy included as comment. |
||
1.0.0.0 |