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

IN MATLAB CODE: IN MATLAB CODE: (10 points) An upper triangular matrix is a square

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!