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
Nikolaos Nikolaou
on 6 Oct 2020
Nice one :)
Solution Comments
Show commentsProblem Recent Solvers59
Suggested Problems
-
Remove any row in which a NaN appears
8270 Solvers
-
3975 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
357 Solvers
-
488 Solvers
-
Find last zero for each column
453 Solvers
More from this Author294
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!