Simultaneous equations double answer
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!