Question: Let CE Rnxn be a non-singular upper triangular matrix. Write a solver pog_linsolv for the linear system CT Cy = r. Treat C and r

Let CE Rnxn be a non-singular upper triangular matrix. Write a solver pog_linsolv for the linear system CT Cy = r. Treat C and r as the input of the solver. Recall that to solve the linear system, we can first solve C'z=r by forward substitution and then solve Cy = z by back substitution. Note: you will need to use for-loop in your solver. You CANNOT use MATLAB's solver to directly solve the linear system.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
