How can I find the position of the center point of a circle tangent to two ellipses?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone,
Given the information about two ellipses, I want to know how to find a circle with a fixed radius tangent to the ellipse.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/986055/image.png)
When we know information about ellipses E1 and E2, we want to know the center point of circle C.
I tried several methods, but with no success.
If you look at the link below, the ellipse is expressed as a matrix and the straight line tangent to the two ellipses is calculated using solve. I wonder if the circle can be obtained in the same way.
채택된 답변
Matt J
2022년 5월 3일
편집: Matt J
2022년 5월 3일
I would probably solve for the circle parameters v1,v2 plus the two points of tangency x1,y1,x2,y2. That's 6 unknowns, and you already have 4 equations. You can get 2 more equations from the tangency conditions. The conditions are,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/986075/image.png)
and similarly for (x2,y2).
댓글 수: 5
Matt J
2022년 5월 3일
편집: Matt J
2022년 5월 3일
Yes, you can think of it as setting to zero the Jacobian determinants of [E1;C] and [E2;C]. Each 2x2 determinant will give you an additional equation. The Symbolic Math Toolbox supports both jacobian() and det(). It should be a pretty direct translation into code.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!