Finding points of intersection between two symbolic functions

조회 수: 2 (최근 30일)
Carl
Carl 2014년 4월 25일
Hi,
I am in the middle of trying to find the points of intersection between two symbolic functions.
The two equations are defined as follows
syms x y f;
lhs = 1.425*y^2 - 13.4798*x^2 + 0.85*sqrt((-2.353*y^2 - x^2)*(y^2 + x^2))*cot(1e-7*(sqrt((-2.353*y^2 - x^2))))
f = 2.833653982*x - 0.2403942747e10
Now, since the point of intersection has the same (x,y) coordinates for both curves, substitution should simply work.
So I now run
lhs_solve = subs(lhs, y, f)
S = solve(lhs_solve, x)
This produces a complex output, indicating there is no point of intersection. However, graphically the equations definitely cross!
Has anybody experienced this problem before? And is there any way to bypass this?
Thanks,
Carl

답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by