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=
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 10:13:47
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=
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在运算,但几个小时都算不出来
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=
Warning:Explicit solution could not be found.
> In solve at 81
In Untitled at 8
A =
[ empty sym ]
B =
[]
x =
[]
y =
[]