Problem 193. Smallest distance between a point and a rectangle
37.65% Correct | 62.35% Incorrect
Last Solution submitted on Mar 24, 2023
Sam on 8 Oct 2014
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.
Problem Recent Solvers165
Create an n-by-n null matrix and fill with ones certain positions
More from this Author38
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!