matlab中求解带字母的方程组

matlab中求解带字母的方程组
>> syms A a B b R x y L k c d
>> p=y-k*x-c;
>> q=(A-a)*(x-a)+(B-b)*(y-b)-R^2;
>> m=L/2/sqrt((A-x)^2+(B-y)^2)-sin(atan(abs((a-A)/(B-b)-k)/(1+(a-A)/(B-b)*k)));
>> n=(A-x+d/sqrt(1+k^2))^2+(B-y+d*k/sqrt(1+k^2))^2-L^2;
>> f=sqrt((A-x)^2+(B-y)^2)-d;
>> [A,B,x,y]=solve(p,q,m,n,f)
感觉matlab在运算,但几个小时都算不出来
smallshark1 1年前 已收到1个回答 举报

ythtme 春芽

共回答了20个问题采纳率:85% 举报

Warning:Explicit solution could not be found.
> In solve at 81
In Untitled at 8
A =
[ empty sym ]
B =
[]
x =
[]
y =
[]

1年前

2
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 3.253 s. - webmaster@yulucn.com