This problem does not have an unique solution. Unless the angle between two points on an arc is 180 degrees, there is always two possible positions for the center. The problem should specifiy which is the right one, or accept both answers. I solved it using the center with the smallest distance to the origin.
Extract leading non-zero digit
1206 Solvers
658 Solvers
49 Solvers
117 Solvers
73 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!