Question: Let's get another tool for solving linear systems. Rather than Gaussian elimination, we will look at using LU factorization (the matrix version of Gaussian elimination).

Let's get another tool for solving linear systems. Rather than Gaussian elimination, we will look at using LU factorization (the matrix version of Gaussian elimination). One thing you never want to do is matrix inversion. Consider the matrices 2 -1 0 A= 1.B = mes(3),C= -12 -1 0 -1 2 Complete the following: (a) type help lu and read about Octave/Matlab's computation of LU factorization. If you need to brush up on LU factorization, see these notes. (b) Factor these matrices into A= LU using the la command in Octave/Matlab. That is, type (1 u] - lu(A) for each matrix. (e) Now type [1 u p] - lu(A) for each and comment on the possibly different outputs form part (b). Let's get another tool for solving linear systems. Rather than Gaussian elimination, we will look at using LU factorization (the matrix version of Gaussian elimination). One thing you never want to do is matrix inversion. Consider the matrices 2 -1 0 A= 1.B = mes(3),C= -12 -1 0 -1 2 Complete the following: (a) type help lu and read about Octave/Matlab's computation of LU factorization. If you need to brush up on LU factorization, see these notes. (b) Factor these matrices into A= LU using the la command in Octave/Matlab. That is, type (1 u] - lu(A) for each matrix. (e) Now type [1 u p] - lu(A) for each and comment on the possibly different outputs form part (b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
