フィルターのクリア

i have written a code to get LU decomposition,now i need a code to solve LUx=b

3 ビュー (過去 30 日間)
Amjad Green
Amjad Green 2018 年 2 月 22 日
コメント済み: John D'Errico 2018 年 2 月 24 日
L,U is n*n matrix i'm working on Doolittle method of solving Ax=b i need a code to solve for x

採用された回答

Torsten
Torsten 2018 年 2 月 22 日
First solve L*y = b for y, then solve U*x = y for x.
Best wishes
Torsten.
  2 件のコメント
Amjad Green
Amjad Green 2018 年 2 月 24 日
so just y=(L^-1)*b then (U^-1)*y=x ?
thanks so much
John D'Errico
John D'Errico 2018 年 2 月 24 日
No. Don't use an inverse!
Did your teacher tell you about back and forward substitution? They should have done so by this point.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by