i have written a code to get LU decomposition,now i need a code to solve LUx=b
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Amjad Green
am 22 Feb. 2018
Kommentiert: John D'Errico
am 24 Feb. 2018
L,U is n*n matrix i'm working on Doolittle method of solving Ax=b i need a code to solve for x
Akzeptierte Antwort
Torsten
am 22 Feb. 2018
First solve L*y = b for y, then solve U*x = y for x.
Best wishes
Torsten.
2 Kommentare
John D'Errico
am 24 Feb. 2018
No. Don't use an inverse!
Did your teacher tell you about back and forward substitution? They should have done so by this point.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!