maximum_distance
Version 1.0.1 (2,39 KB) von
Lucas Pavlov
Computes the maximum distance between two points from a given set of k points in R^n.
Computes the maximum distance between two points from a given set of k points in R^n. When possible, the calculation is performed from the convex hull which greatly reduces computation time.
Zitieren als
Lucas Pavlov (2024). maximum_distance (https://www.mathworks.com/matlabcentral/fileexchange/71334-maximum_distance), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2017a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Bounding Regions finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | Corrected iteration in the non convex hull case to avoid considering each pair of points two times, and added an optional output argument containing the indices of the two farthest points. |
||
1.0.0 |