Using MATLAB, develop an M-file to determine matrix inverse based on the LU factorization method. That is, develop a fun
Posted: Thu May 05, 2022 6:05 pm
Using MATLAB, develop an M-file to determine matrix inverse based on the LU factorization method. That is, develop a function called myinu that is passed the square matrix [A] and return the inverse matrix. You are not to use MATLAB built-in function inv or left division in your codes. Test your function by using it to solve a system of equations listed below. Confirm that your function is working properly by verifying that [A][A]-ยน= and by using the MATLAB built-in function inv. X1+X2+5X3=-21.5 -3X1-6x2+2x3=-61.5 10X1+2X2-X3=27