In Chapter 11, we will show that if no row interchanges are performed, anmatrix can be factored into a productwhereis a lower triangular matrix with ones on its diagonal andis the upper triangular matrix obtained from Gaussian elimination. For instance, if
Develop a function
that takes the factorsandof a matrixand computes detCheck your function by computing the determinant of the matrixusing ludet and MATLAB’s det.
The function lugauss in the software distribution computes thedecomposition of a matrix without using row exchanges. It must be the case that during row elimination, a zero never appears on the diagonal. Create three matrices, of dimensionandand use ludet to compute the determinant of each matrix. Verify your results using det.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here