MATLAB code for LU decomposition of an arbitrary matrix.

1 回表示 (過去 30 日間)
Anna Ha
Anna Ha 2020 年 5 月 8 日
編集済み: Ameer Hamza 2020 年 5 月 8 日
how do i make a code for LU decomposition of an arbitrary matrix with out using inv( )
function or \ ?? The code must display L, U and L*U matrices. The code must accept a matrix as
an input. The code must generate the following error message if the input is not a square matrix:
“The input matrix must be square.”
im trying to make a code for these problems.
10x1+2x2-x3=27
-3x1-6x2+2x3=-61.5
x1+x2+5x3=-21.5

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 5 月 8 日
編集済み: Ameer Hamza 2020 年 5 月 8 日

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by