Problem 1336. Geometry: Find Circle given 3 Non-Colinear Points
This Challenge is to determine the center and radius of a circle given three non-colinear points.
Input: Points
Output: [xc, yc, r] where [xc,yc] are the center and r is the radius
Example:
Input: Points = [1 0 ; 0 -1 ; 0 1]
Output: [ 0 0 1]
Theory/Hint: The Kasa method provides a best fit circle to a set of points.
Future: 1) Circumscribe 4 points 2) Circumscribe N points 3) The Great Lego Cup Challenge
Solution Stats
Problem Comments
-
1 Comment
Nice one :)
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
Test if a Number is a Palindrome without using any String Operations
238 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2326 Solvers
-
Back to basics 12 - Input Arguments
607 Solvers
-
Split a string into chunks of specified length
1890 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1902 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!