Question: Write the code for it in MATLAB Exploring LU Decomposition & Sparse Matrices: Buckminsterfullerene has the chemical formula C_40 and a fused-ring structure that resembles

Write the code for it in MATLAB
Exploring LU Decomposition \& Sparse Matrices: Buckminsterfullerene has the chemical formula C_40 and a fused-ring structure that resembles a soccer ball and is commonly called a "bucky ball". We will use the adjacency matrix of the connectivity graph of the bucky ball to explore LU decomposition. (a) Load the bucky data and save as matrix B and use the ones function to create a b function that is the same length. (b) The bucky data is stored as a MATLAB "sparse" matrix. Open B using your workspace and describe the data structure that you see. What advantages and disadvantages are there for storing data this way against a conventional matrix ? (c) Plot the data using the MATLAB function spy (d) Perform. LU decomposition on B and then LUP decomposition on B. (e) Use a 22 subplot to plot L and U from both decompositions and describe the differences between this and the last set of plots. What is the difference between LU and LUP? (f) Use LU decomposition to obtain x in two steps, as described in the lecture notes. (g) Check your result by checking if Axb=0. Is it worth doing iterative refinement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
