i have written a code to get LU decomposition,now i need a code to solve LUx=b
1 回表示 (過去 30 日間)
古いコメントを表示
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
2018 年 2 月 22 日
First solve L*y = b for y, then solve U*x = y for x.
Best wishes
Torsten.
2 件のコメント
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 Exchange で Mathematics and Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!