File Exchange

image thumbnail

LU decomposition

version 1.0.0 (2.07 KB) by Meysam Mahooti
lower–upper (LU) decomposition or factorization factors a matrix as the product of a lower triangular matrix and an upper triangular matrix.

30 Downloads

Updated 28 Nov 2019

View License

LU decomposition (factorization) of a nonsingular (square) matrix A means expressing the matrix as the multiplication of a lower triangular matrix L and an upper triangular matrix U, where a lower/upper triangular matrix is a matrix having no nonzero elements above/below the diagonal. For the case where some row switching operation is needed like in the Gauss elimination, we include a permutation matrix P representing the necessary row switching operation(s) to write the LU decomposition as
P A = L U
Reference:
Applied Numerical Methods Using MATLAB®
Author(s): Won Young Yang, Wenwu Cao, Tae‐Sang Chung, John Morris
First published:14 January 2005
Print ISBN:9780471698333 |Online ISBN:9780471705192 |DOI:10.1002/0471705195
Copyright © 2005 John Wiley & Sons, Inc.

Cite As

Meysam Mahooti (2020). LU decomposition (https://www.mathworks.com/matlabcentral/fileexchange/73481-lu-decomposition), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Horst Heck

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Tags Add Tags