Simultaneous equations double answer

1 view (last 30 days)
Michael  Kurniawan
Michael Kurniawan on 25 Oct 2012
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

Answers (1)

Sachin Ganjare
Sachin Ganjare on 25 Oct 2012
Edited: Sachin Ganjare on 25 Oct 2012

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!