Simultaneous equations double answer

1 次查看(过去 30 天)
F= [L1(1)*4*pi*((L1(2)-x(1))^2+(L1(3)-x(2))^2)-x(3);
L2(1)*4*pi*((L2(2)-x(1))^2+(L2(3)-x(2))^2)-x(3);
L3(1)*4*pi*((L3(2)-x(1))^2+(L3(3)-x(2))^2)-x(3);
x=fsolve(@(x) triangulate(x,L1,L2,L3),[5000;5000;10000000])
x = 1000 1000 1.2566e+007
There's actually two answers to this problem but Matlab only give me one. the two answer are meant to be (1000,3000,62831.9},{1000,1000,12566.4}} How do I tell matlab to give me both answers CHeers

回答(1 个)

Sachin Ganjare
Sachin Ganjare 2012-10-25
编辑:Sachin Ganjare 2012-10-25

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by