How to find the center of a circle given two tangent lines and radius using MATLAB?

61 ビュー (過去 30 日間)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI 2018 年 9 月 19 日
回答済み: James Tursa 2018 年 9 月 19 日
How to find the center of a circle given two tangent lines and radius using MATLAB?
  1 件のコメント
Rik
Rik 2018 年 9 月 19 日
For mathematical questions like this, it is usually best to solve this algebraically first and then implement that in Matlab.

サインインしてコメントする。

回答 (1 件)

James Tursa
James Tursa 2018 年 9 月 19 日
Find the line bisecting the two tangent lines. This line will contain the center point of the circle. Form a right triangle with one of the tangent lines as a leg, the radius line as the other leg, and the bisecting line as the hypotenuse. You know the angle where the two tangent lines cross, so the angle in the triangle at that point is 1/2 that. Then simple trig will give you the lengths of the triangle hypotenuse and tangent line leg. That can be used to calculate the circle center.

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by