Plot circle through 3 points

How can i plot a circle through 3 points?
the points are:
X Y Z
point 1: 80,2 314,5 2,5
point 2: 86,7 303,3 2,4
point 3: 73,7 303,3 2,4
Thank you

回答(1 个)

Joseph Cheng
Joseph Cheng 2015-3-20

0 个投票

You'll find the center point of the circle by finding the intersection of two lines.
Start off by calculating the line equation for two lines pairs say points 1 to 2 and 2 to 3. then the center point is the intersections of the perpendicular bisection of these two lines.
a quick online search has diagrams here http://www.mathopenref.com/const3pointcircle.html

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by