Problem 1387. Points on a circle.
29.52% Correct | 70.48% Incorrect
Last Solution submitted on May 30, 2023
Show 1 older comment
Chris Cleveland on 14 Jul 2017
Great problem! Learned a bunch from others solutions as well.
HH on 3 Dec 2017
In the problem statement, I think you meant '3' and '4', rather than '1' and '2', in the respective +/- combinations.
James on 4 Dec 2017
Thanks for catching my stupidity on that one, HH. It's fixed now.
Rafael S.T. Vieira on 23 Jun 2020
The tip for this question is the sum of squares function, which I use in my solution. There are many possible solutions to this problem, but the huge circle radii limit what we can employ, so be careful.
Solution CommentsShow comments
Problem Recent Solvers22
Back to basics 6 - Column Vector
"Low : High - Low : High - Turn around " -- Create a subindices vector
Minimum Distance Point to Segment
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!