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
Solution Comments
Show comments
Loading...
Problem Recent Solvers65
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6857 Solvers
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
Get the area codes from a list of phone numbers
1076 Solvers
-
286 Solvers
-
Calculate the Hamming distance between two strings
349 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Nice one :)