Simultaneous equations double answer

1 Ansicht (letzte 30 Tage)
Michael  Kurniawan
Michael Kurniawan am 25 Okt. 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

Antworten (1)

Sachin Ganjare
Sachin Ganjare am 25 Okt. 2012
Bearbeitet: Sachin Ganjare am 25 Okt. 2012

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by