i have written a code to get LU decomposition,now i need a code to solve LUx=b
조회 수: 1 (최근 30일)
이전 댓글 표시
L,U is n*n matrix i'm working on Doolittle method of solving Ax=b i need a code to solve for x
채택된 답변
Torsten
2018년 2월 22일
First solve L*y = b for y, then solve U*x = y for x.
Best wishes
Torsten.
댓글 수: 2
John D'Errico
2018년 2월 24일
No. Don't use an inverse!
Did your teacher tell you about back and forward substitution? They should have done so by this point.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!