LU Decomposition method
Versión 1.0.03 (1,6 KB) por
Dr. Manotosh Mandal
MATLAB codes for LU Decomposition (factorization) method for solving system of linear equations.
For details of the method and also coding watch the lecture: https://youtu.be/SNWiI3a-Di0
Example:
Enter the coefficient matrix A:
[7 -3 1; 2 9 -3; 5 4 11]
Enter the constant matrix B:
[21; 37; 15]
The Lower Triangular Matrix L is
1.0000 0 0
0.2857 1.0000 0
0.7143 0.6232 1.0000
The Upper Triangular Matrix U is
7.0000 -3.0000 1.0000
0 9.8571 -3.2857
0 0 12.3333
The solution for Y is
21.0000
31.0000
-19.3188
The required solution X is
4.3478
2.6228
-1.5664
>>
Citar como
Dr. Manotosh Mandal (2024). LU Decomposition method (https://www.mathworks.com/matlabcentral/fileexchange/72580-lu-decomposition-method), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Linear Algebra >
Más información sobre Linear Algebra en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.03 | For details of the method and also coding watch the lecture: https://youtu.be/SNWiI3a-Di0 |
||
1.0.02 | Functions |
||
1.0.01 | New function |
||
1.0.0 |