LU decomposition

Lower–Upper (LU) decomposition or factorization to solve the set of n linear equations Ax=b.

921 Downloads

Updated 17 Oct 2022

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 (2023). LU decomposition (https://www.mathworks.com/matlabcentral/fileexchange/73481-lu-decomposition), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!

LU_Decomposition 1.1.1

Version Published Release Notes
1.1.1

LU_Decomp.m and LU_BackSub.m were added.

1.1.0

lu_dcmp.m is modified.

1.0.0