maximum_distance

Computes the maximum distance between two points from a given set of k points in R^n.
36 Downloads
Updated 27 Apr 2019

View License

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.

Cite As

Lucas Pavlov (2024). maximum_distance (https://www.mathworks.com/matlabcentral/fileexchange/71334-maximum_distance), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Bounding Regions in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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