Question: IN MATLAB CODE: (10 points) An upper triangular matrix is a square matrix with all zeros BELOW the diagonal elements. Write a function with header
(10 points) An upper triangular matrix is a square matrix with all zeros BELOW the diagonal elements. Write a function with header [x] myBacksub (U, b) which solves Ax b or x given an nxn upper triangular matrix A and an nxl vector b Use nested for loops, do not use built in Matlab functions inv, pinv, 1. Test Case x myBack Sub (U, b2) 1.0000 2.0000 3.0000 4.0000 5.0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
