Question: Matlab solve problem 2 1. Write a function U row-echelon (A, tol), which reduces the input matrix A in the row echelon form U using
Matlab solve problem 2


1. Write a function U row-echelon (A, tol), which reduces the input matrix A in the row echelon form U using the algorithm described in class. Note for this function, you will need to modify Gaussian elimination for the rectangular case; see pg 43 in MAALA. 2. Using the above function, write another function B, C1 find-basis A, tol). This function takes a matrix A as input, and outputs a basis for the null space and a basis for the range space of A. Columns of B and C should represent the basis for the null space and range space respectively. For this function, use (4.2.8) on pg 172 in MAALA (the definition of basic columns is in the blue box on page 45). For both of these functions, you will also need to input a tolerance param eter tol so that?s 0? if sl S tol in order to decide when a row/column is to be considered 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
