Question: PartI. Elementary Row-Operations Difficulty: Moderate Exercise 1 (6 points) In this exercise you will create the three types of elementary matrices, analyze their properties, and


PartI. Elementary Row-Operations Difficulty: Moderate Exercise 1 (6 points) In this exercise you will create the three types of elementary matrices, analyze their properties, and perform elementary row-operations on matrices by using elementary matrices (a) **Write three functions in MATLAB function E1-elel (n,r,i, j) function E2-ele2 (n,i, j) function E3-ele3 (n,j.k) Each of the functions creates one of the three types of nxn elementary matrices. The variables i, j will have specified values in the range from 1 to n **To create the matrices, you should start with the nxn identity matrix, eye(n) Matrix El is obtained from eye(n) by replacing (rowj) with [(rowj(row )-r] Matrix E2 is obtained from the matrix eye(n) by interchanging the rows i and j. Matrix E3 is obtained from eye(n) by multiplying the row j by k. **Type the functions elel, ele2, and ele3 in your diary file **Create the function in MATLAB that converts the numbers that are close to 0 to a zero function B-closetozeroroundoff(A) [m,n]-size(A) for i= 1:m or if abs(A(ij))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
