Question: Please help me with the computer code in MATLAB. Aerospace 313: Computer Assignment No. 3 LU-Decomposition and Matrix Inversion Due: Wednesday December 12th, 2018 Write

Please help me with the computer code in MATLAB.Please help me with the computer code in MATLAB. Aerospace 313: Computer

Aerospace 313: Computer Assignment No. 3 LU-Decomposition and Matrix Inversion Due: Wednesday December 12th, 2018 Write a computer code to perform LU-decomposition on the tridiagonal matrix given below. Use the Thomas algorithm. Then extend your code to find the inverse of the matrix. 0 2 41 0 0 0 A 0 01 3 1 0 0 0 0 0 0 1 00 0 0 0 2 1 Your results should be presented as a short report. The report should include 1. A statement of the problem This should just be a restatement of the problem description given above in its own section 2. A summary of the analysis and the recursion relations used This should be a section that describes the formulas used by te Thomas algorithm to perform the LU decomposition, perform the forward and backward substitution, and then obtain the matrix inverse 3. The result of the LU-decomposition show both L and U matrices. You can choose to show only the . . and colunin vectors. 4. The inverse of the matrix calculated using your code - show the matrix inverse. In this case show all the elements of the matrix. To check the accuracy of your result you can have your code perform a matrix multiplication to show that the product of the matrix and its inverse does equal the identity matrix. 5. A description of the results this should include comments about the method used (in word form), and the accuracy of the results (how well does the product of the matrix and its inverse match the identity matrix). 6. An Appendix: Copy of computer code. the structure of the code will be graded. This means that each major component of the algorithm should be calculated using a separate function or routine. In this way that particular set of operations could be replaced with another function or routine without changing the entire code. All the actions taken by the code should be documented with comments. This would include indicating what the function that is being used is going to do and, in the function or routine itself, what its function is Aerospace 313: Computer Assignment No. 3 LU-Decomposition and Matrix Inversion Due: Wednesday December 12th, 2018 Write a computer code to perform LU-decomposition on the tridiagonal matrix given below. Use the Thomas algorithm. Then extend your code to find the inverse of the matrix. 0 2 41 0 0 0 A 0 01 3 1 0 0 0 0 0 0 1 00 0 0 0 2 1 Your results should be presented as a short report. The report should include 1. A statement of the problem This should just be a restatement of the problem description given above in its own section 2. A summary of the analysis and the recursion relations used This should be a section that describes the formulas used by te Thomas algorithm to perform the LU decomposition, perform the forward and backward substitution, and then obtain the matrix inverse 3. The result of the LU-decomposition show both L and U matrices. You can choose to show only the . . and colunin vectors. 4. The inverse of the matrix calculated using your code - show the matrix inverse. In this case show all the elements of the matrix. To check the accuracy of your result you can have your code perform a matrix multiplication to show that the product of the matrix and its inverse does equal the identity matrix. 5. A description of the results this should include comments about the method used (in word form), and the accuracy of the results (how well does the product of the matrix and its inverse match the identity matrix). 6. An Appendix: Copy of computer code. the structure of the code will be graded. This means that each major component of the algorithm should be calculated using a separate function or routine. In this way that particular set of operations could be replaced with another function or routine without changing the entire code. All the actions taken by the code should be documented with comments. This would include indicating what the function that is being used is going to do and, in the function or routine itself, what its function is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!