LU Decomposition: Doolittle & Crout

Version 1.1.1 (1.43 KB) by Anton PUIU
Crout and Doolittle implmentations using vectorization.
165 Downloads
Updated 28 Apr 2022

View License

LU decomposition or factorization represents the direct consequence of the following theorem:
Let . Then exists such that
For , we have:
Doolittle
This method considers . We have:
We can observe the following method in order to find the values of the L and U matrices:
  1. We start with
  2. For each , we compute
  3. For each , we compute
  4. For , we repeat the steps 2-3, but using the following formulas:
Crout
This method considers . We have:
We can observe the following method in order to find the values of the L and U matrices:
  1. We start with
  2. For each , we compute
  3. For each , we compute
  4. For , we repeat the steps 2-3, but using the following formulas:
References:
Metode numerice, Valeriu Iorga & Boris Jora, Editura Albastra Cluj-Napoca 2008.

Cite As

Anton PUIU (2025). LU Decomposition: Doolittle & Crout (https://www.mathworks.com/matlabcentral/fileexchange/110550-lu-decomposition-doolittle-crout), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.1

Updated description

1.1.0

Updated description.

1.0.9

Fixed description.

1.0.8

Description update.

1.0.7

Description fix.

1.0.6

Copyright update.

1.0.5

Description fixes.

1.0.4

Description update.

1.0.3

Removed default argument for crout.

1.0.2

Inserted requirements in functions.

1.0.1

Inserted image.

1.0.0