I'm trying to compute LU factorization with pivoting, and I got the results but the problem is in the matrix (L ) the value of L_21 should be in the L_31 and the value of L_31 should be in L_21. look please to see the difference in the matrix L the second one is by my code and the first is by build in function lu could you please tell me where the error in my code

Réponses (1)

Jan
Jan le 5 Oct 2017

0 votes

Your code to determine L contains a bug.
What else could be a possible answer to your message? I recommend to ask a specific answer. Without seeing the code, we cannot fix it.

Community Treasure Hunt

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

Start Hunting!

Translated by