How to drag an fimplicit function
이전 댓글 표시
I have a typical problem I want to solve the intersection point of two polynomial curves by moving the curves within specific limits of X and Y. My problem is let's say we have equation of two 2Dimensional circles say x^2 + y^2 + 5*x + 12*y +15 and x^2 + y^2 -18*x -22*y -24. Now I want to drag both the circles within specific limits of x and y and if the two circles intersect each other simultaneously solve the point of intersections and display them along with two circles I have one solution here https://in.mathworks.com/matlabcentral/fileexchange/4179-draggable which uses the plot function to drag the figures however the only problem is it does not solve and displays the point of intersection of two curves I tried the code on fimplicit but it gives error that X data and y data are read only. If anybody can help me
댓글 수: 8
Walter Roberson
2020년 7월 15일
So as you dragged them, you would be changing their implied centers, while leaving the radii the same?
Currently:
center (-5/2, -6) radius sqrt(109/4)
center (9, 11) radius sqrt(226)
Saikat Banerjee
2020년 7월 15일
Saikat Banerjee
2020년 7월 15일
편집: Steven Lord
2020년 7월 15일
Walter Roberson
2020년 7월 15일
A circle is a multinomial with total degree 2, not a polynomial.
If you have any y terms other than a constant times y, or if you have any xy terms, then you do not have a polynomial (unless you reversed the x and y axes)
Saikat Banerjee
2020년 7월 15일
Saikat Banerjee
2020년 7월 15일
Saikat Banerjee
2020년 7월 17일
Walter Roberson
2020년 7월 17일
I am so backlogged on answering people, that I cannot even find some of the posts that are waiting for responses from me. I have active contributions to over 30 different Questions per day, plus material I read but do not contribute to, plus a heck-load of software upgrades for me this week. I have made it to bed before day once in the past two weeks.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!