matlab求解三元二次方程组

x1=-226.11;y1=238.802;z1=-1577;x2=223.1317;y2=201.5533;z2=-1577;x3=-277.2719;y3=-202.... x1=-226.11;
y1=238.802;
z1=-1577;
x2=223.1317;
y2=201.5533;
z2=-1577;
x3=-277.2719;
y3=-202.0605;
z3=-1577;
与求解方程组:
(t1*x1-t2*x2)^2+(t1*y1-t2*y2)^2+(t1*z1-t2*z2)^2=532.8689^2
(t1*x1-t3*x3)^2+(t1*y1-t3*y3)^2+(t1*z1-t3*z3)^2=532.8689^2
(t3*x3-t2*x2)^2+(t3*y3-t2*y2)^2+(t3*z3-t2*z2)^2=753.5904^2
从中解出t1,t2,t3

只需要解出近似解就可以了,solve解不出来的。
展开
 我来答
victoriajll
推荐于2017-11-24 · TA获得超过4884个赞
知道大有可为答主
回答量:654
采纳率:100%
帮助的人:1055万
展开全部
x1=-226.11;
y1=238.802;
z1=-1577;
x2=223.1317;
y2=201.5533;
z2=-1577;
x3=-277.2719;
y3=-202.0605;
z3=-1577;
syms t1 t2 t3
eq1=(t1*x1-t2*x2)^2+(t1*y1-t2*y2)^2+(t1*z1-t2*z2)^2-532.8689^2;
eq2=(t1*x1-t3*x3)^2+(t1*y1-t3*y3)^2+(t1*z1-t3*z3)^2-532.8689^2;
eq3=(t3*x3-t2*x2)^2+(t3*y3-t2*y2)^2+(t3*z3-t2*z2)^2-753.5904^2;
[t1 t2 t3]=solve(eq1,eq2,eq3,'t1','t2','t3')
楼主我用solve可以解出解来,你参考一下
追问
能不能把结果发出来一下?可能我的机器不行。
追答
t1 =

-1.0509173508545735104340338689947
-1.1698934808360810991826320184508
1.0509173508545735104340338689947
1.1698934808360810991826320184508
0.010396634113083991776989880165808*i - 1.2019462220480859491977964180343
- 0.010396634113083991776989880165808*i - 1.2019462220480859491977964180343
1.2019462220480859491977964180343 - 0.010396634113083991776989880165808*i
0.010396634113083991776989880165808*i + 1.2019462220480859491977964180343

t2 =

-1.1697089782522916388945379925719
-1.1913186512726991219844892128139
1.1697089782522916388945379925719
1.1913186512726991219844892128139
0.057634634834530744446137087224216*i - 1.138347026247663883595166143394
- 0.057634634834530744446137087224216*i - 1.138347026247663883595166143394
1.138347026247663883595166143394 - 0.057634634834530744446137087224216*i
0.057634634834530744446137087224216*i + 1.138347026247663883595166143394

t3 =

-1.174266184126665874532701817206
-1.0359709975279320067152227120205
1.174266184126665874532701817206
1.0359709975279320067152227120205
- 0.0089114677978635435253876332051359*i - 1.2032654076846048324649767119272
0.0089114677978635435253876332051359*i - 1.2032654076846048324649767119272
0.0089114677978635435253876332051359*i + 1.2032654076846048324649767119272
1.2032654076846048324649767119272 - 0.0089114677978635435253876332051359*i
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式