Simultaneous equations double answer

1 visualización (últimos 30 días)
Michael  Kurniawan
Michael Kurniawan el 25 de Oct. de 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

Respuestas (1)

Sachin Ganjare
Sachin Ganjare el 25 de Oct. de 2012
Editada: Sachin Ganjare el 25 de Oct. de 2012

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by