Solving 3 unkowns with 3 knowns

I have three equations in the following form:
c*TDOA(1) = sqrt((x(1)-xe)^2 + (y(1)-ye)^2 + (z(1)-ze)^2) + sqrt((x(2)-xe)^2 + (y(2)-ye)^2 + (z(2)-ze)^2)
c*TDOA(2) = sqrt((x(1)-xe)^2 + (y(1)-ye)^2 + (z(1)-ze)^2) + sqrt((x(3)-xe)^2 + (y(3)-ye)^2 + (z(3)-ze)^2)
c*TDOA(3) = sqrt((x(1)-xe)^2 + (y(1)-ye)^2 + (z(1)-ze)^2) + sqrt((x(4)-xe)^2 + (y(4)-ye)^2 + (z(4)-ze)^2)
Everything is known EXCEPT xe,ye, and ze.
I don't know how to easily isolate them into an Ax=b form.
Thanks,
K

回答 (1 件)

Honglei Chen
Honglei Chen 2012 年 7 月 31 日

0 投票

What you have are not linear equations so they cannot be solved in Ax=b form. You need to use a solver for nonlinear equations. The following page should be helpful

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2012 年 7 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by