Im horrible at coding for MatLab and was wondering if someone could help me out
ID: 2966269 • Letter: I
Question
Im horrible at coding for MatLab and was wondering if someone could help me out with this. It would be much apprecaited. question 9 & 10 are needed
Find the LU factorization of the following matrices using Matlab [3 1 2 6 3 4 3 1 5][4 2 0 4 4 2 2 2 3][1 -1 1 2 0 2 1 0 1 3 4 4 0 2 1 -1] Solving a linear system using naive Gaussian elimination requires roughly n3/3 operations. Solving a set of k linear systems with an n times n matrix A requires approximately kn3/3 operations, since we must start over at the beginning for each problem. However, using the LU approach, the right-hand-side b doesn't enter the calculations until the factorization is finished. By insulating the calculations involving A from b, we can solve the set of k linear systems with only one forward elimination, followed by two back-substitutions (Lc = b,Ux = c) for each new b. The approximate number of operations for solving k systems with the LU approach is n3 /3 + kn2. When n is large, this is an enormous difference. Given the 100 times 100 matrix A, assume your computer can solve the 50 problems Ax = b1, Ax = b2, , Ax = b50 in exactly one minute, using A = LU factorization methods. How much of the minute was the computer working on the A = LU factorization? Round your answer to the nearest second.Explanation / Answer
I will help you with 9 if you can help me with 10