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)).
Citation pour cette source
Are Mjaavatten (2025). remotest(points,boundary) (https://fr.mathworks.com/matlabcentral/fileexchange/61886-remotest-points-boundary), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 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 |
