matlab求方程组的解里含有未知数x1、x2、x3、y1、y2、y3、t1、t2、t3 c都是用公式能计算出来的具体值syms x y t;[x,y,t]=solve('(t1-t)*c=sqrt((x1-x)^2+(y1-y)^2)','(t2-t)*c=sqrt((x2-x)^2+(y2-y)^2)','(t3-t)*c=sqrt((x3-x)^2+(y3-y)^2)')得到的结果里表达式里却有未知数 请问如何解决?x =x3 + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)x3 + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)y =x3 + (c^2*t^2 - 2*c^2*t*t1 + c^2*t1^2 - y^2 + 2*y*y1 - y1^2)^(1/2) + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 -
matlab求方程组的解里含有未知数
x1、x2、x3、y1、y2、y3、t1、t2、t3 c都是用公式能计算出来的具体值
syms x y t;
[x,y,t]=solve('(t1-t)*c=sqrt((x1-x)^2+(y1-y)^2)','(t2-t)*c=sqrt((x2-x)^2+(y2-y)^2)','(t3-t)*c=sqrt((x3-x)^2+(y3-y)^2)')
得到的结果里表达式里却有未知数 请问如何解决?
x =
x3 + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)
x3 + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)
y =
x3 + (c^2*t^2 - 2*c^2*t*t1 + c^2*t1^2 - y^2 + 2*y*y1 - y1^2)^(1/2) + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)
x3 - (c^2*t^2 - 2*c^2*t*t1 + c^2*t1^2 - y^2 + 2*y*y1 - y1^2)^(1/2) + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)
t =
x3 + (c^2*t^2 - 2*c^2*t*t2 + c^2*t2^2 - y^2 + 2*y*y2 - y2^2)^(1/2) + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)
x3 + (c^2*t^2 - 2*c^2*t*t2 + c^2*t2^2 - y^2 + 2*y*y2 - y2^2)^(1/2) + (c^2*t^2 - 2*c^2*t*t3 + c^2*t3^2 - y^2 + 2*y*y3 - y3^2)^(1/2)