Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Submit your M-files and a diary showing how you tested the code. Submit the M-files for forward, backward, and mySolve, but not MYLU. Write a
Submit your M-files and a diary showing how you tested the code. Submit the M-files for forward, backward, and mySolve, but not MYLU. Write a file forward.m to solve n times n lower triangular systems and a file backward.m to solve n times n upper triangular systems. Then write an M-file mySolve.m to solve n times n systems (under the assumption that elimination can be performed without row exchanges). Use MYLU.m from last week's assignment. Test your code on Ax = b with A = [1 -5 -4 -9 5 -3 0 4 -1 0 -8 -3 -9 -3 -2 8 -8 -6 9 5 4 7 -4 0 -3], b = [-9 -4 7 6 -2]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started