mathlab

profileSixtony
HW3.pdf

EGN 4453 Homework 3

Due Friday, November 11, 2022th 11:59pm

For all MATLAB codes written, appropriate comments are re- quired. Solutions must be uploaded in PDF format to Canvas.

1. Write a MATLAB user-defined function to compute a linear combination of two vectors.

2. Write a MATLAB user-defined function to put a matrix into upper-triangular form using the functions written in Homework 2 and Part 1.

3. Draw a flowchart that represents the algorithm to perform back-substitution on an upper-triangular system of equations.

4. Write a MATLAB user-defined function to perform back-substitution on a system of equations in upper-triangular form.

5. Combine Parts 2 and 4 into a user-defined function that solves a linear system of equations.

1