Problem 193. Smallest distance between a point and a rectangle
Solution Stats
Problem Comments
-
1 Comment
For the n dimensional case it would be better to say that x and y lie on opposite vertices of the n-hypercuboid such that each edge is parallel to a coordinate axis.
Solution Comments
-
1 Comment
nice trick :)
Problem Recent Solvers156
Suggested Problems
-
4572 Solvers
-
537 Solvers
-
Return elements unique to either input
650 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1088 Solvers
-
Area of an equilateral triangle
4239 Solvers
More from this Author38
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!