Gaussian elimination using a system of equations, Ax=b

1 回表示 (過去 30 日間)
Jessica Bronicheski
Jessica Bronicheski 2021 年 4 月 6 日
編集済み: Jessica Bronicheski 2021 年 4 月 6 日
I am trying to use Gaussian elimintaion, where the Jacobian matrix is a 4x4 matrix denoted as A and b is a system of equations. However i keep getting the error, Array indices must be positive integers or logical values.
Error in GaussianElimination (line 27)
b = [sqrt((x-A1)^2 + (y-B1)^2 + (z-C1)^2) - c(t1-d);
is there any way to fix this

採用された回答

Jan
Jan 2021 年 4 月 6 日
Replace
c(t1-d)
by
c * (t1-d)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePartial Differential Equation Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by