Whenever I do a LU Factorization, MATLAB interchanges the row with the biggest numbers with the first row. This screws up the calculations (compared to how the book does it).

How do I make it so it stops screwing up the row interchanges?

My U from row reduction: