LU Decomposition: Doolittle & Crout
Version 1.1.1 (1.43 KB) by
Anton PUIU
Crout and Doolittle implmentations using vectorization.
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:
- We start with
- For each
, we compute
- For each
, we compute
- 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:
- We start with
- For each
, we compute
- For each
, we compute
- 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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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 |
