I have 4 equations and 3 unknowns for trilateration problem. I wanna solve these 3 unknowns from these equation accurately.

8 ビュー (過去 30 日間)
x1=475060; y1=1096300; z1=4670;
x2=481500; y2=1094900;z2=4694;
x3=482230;y3=1088430; z3=4831;
x4=478050; y4= 1087810; z4=4775
%coordinates
% ((x-x1)^2)+((y-y1)^2)+((z-z1)^2)=5942.607^2
% ((x-x2)^2)+((y-y2)^2)+((z-z2)^2)=2426.635^2
% ((x-x3)^2)+((y-y3)^2)+((z-z3)^2)=5094.254^2
% ((x-x4)^2)+((y-y4)^2)+((z-z4)^2)=5549.874^2
%these are equations.

採用された回答

Matt J
Matt J 2013 年 11 月 29 日
You can try FSOLVE. However, it seems unlikely for there to be a 4-way intersection between 4 spheres.

その他の回答 (1 件)

Roger Stafford
Roger Stafford 2013 年 11 月 29 日
Like Matt J, I suspect you ask too much of your four spheres. In general three spheres will intersect in just two discrete points if they intersect at all. There is an explicit solution for such a problem which has appeared in "Answers" and "Newgroup" a number of times in the past. However, what do you think the chances are of your fourth sphere passing through either of these two particular points?

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by