Problem 45912. Bounding Circle
16.67% Correct | 83.33% Incorrect
Last Solution submitted on Apr 16, 2023
Rafael S.T. Vieira on 20 Jun 2020
I've implemented the Welzl's algorithm, but, please, be warned as I've learned later that sometimes the algorithm fails. Years later, Matoušek, Sharir, and Welzl seems to have fixed the problem, creating a new version of the algorithm (adding one additional test).
Are Mjaavatten on 18 Apr 2021
I think the tolerance in Test 3 is a bit too tight. My solution fails in about 28% of the cases because the numerical error max(D)-r is up to 8*eps.
Solution CommentsShow comments
Problem Recent Solvers3
Matrix indexing with two vectors of indices
Calculate the height of an object dropped from the sky
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!