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.
the fly, the train, the second train, and their Zeno's paradox
Back to basics 20 - singleton dimensions
Getting the indices from a vector
Largest Twin Primes
Squares in Squares - Concentric Squares
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office