This Challenge is to determine the minimum distance between two non-overlapping polygons. The input is a cell array of two vectors that represent the sequential points of 3 to 100 sided polygons. [x0 y0 x1 y1 ... xn yn]
Input: polycell={[0 0 0 5 4 5 4 0] [2.5 5.5 3 9 -2 5.6]};
Output: 0.5
Related Challenges:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Read a column of numbers and interpolate missing data
2350 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
683 Solvers
-
Change the sign of even index entries of the reversed vector
645 Solvers
-
813 Solvers
-
distance to a straight line (2D) given any 2 distinct points on this straight line
55 Solvers
More from this Author309
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!