matlab解方程组遇到问题了,
matlab解方程组遇到问题了,
clear
syms x y z a b c t
[x,y,z,a,b,c,t]=solve('a=sqrt((500-x)^2+(3300-y)^2+z^2)',
'b=sqrt((300-x)^2+(200-y)^2+z^2)',
'c=sqrt((800-x)^2+(1600-y)^2+z^2)',
'a=((21+9/60)-t)/((19+29/60)-t))*b',
'b=((19+29/60)-t))/((14+51/60)-t))*c',
'c=((14+51/60)-t))/((21+9/60)-t)*a',
'sqrt((1700-x)^2+(100-y)^2)=sqrt((2900-x)^2+(200-y)^2)',)
[x,y,z,a,b,c,t]=solve('a=sqrt((500-x)^2+(3300-y)^2+z^2)',
|
Error:Expected a variable,function,or constant,found "end of line".