Solve Ax=b with LU factorization
古いコメントを表示
I'm trying to solve A*x = b with LU decomposition and back substitution. Where x is the unknown vector.
A =
350 0 0 0 0
-1 0 0 0 0.0091
5 0 0 0 0
0.0095 0 0 0 1
0 -1 0 0 0.0091
b =
1
0
2
1
But I always end up with: Matrix is singular to working precision
Hope someone can provide me with a working code.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!