Question: write a MATLAB script that, given A, implements simple LU decomposition. At each step, make sure not to divide by zero and let the routine
write a MATLAB script that, given A, implements simple LU decomposition. At each step, make sure not to divide by zero and let the routine display an error if that were about to happen. Then use the resulting matrices to compute Ax=b in a forward Ly=band backward Ux=y substitution sweep.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
