Using MATLAB, develop an M-file to determine matrix inverse based on the LU factorization method. That is, develop a fun
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Using MATLAB, develop an M-file to determine matrix inverse based on the LU factorization method. That is, develop a fun
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!