SOLVE THE FOLLOWING PROBLEM USING MATLAB CODE PLEASE
Posted: Sun May 15, 2022 11:41 am
SOLVE THE FOLLOWING PROBLEM USING MATLAB CODE
PLEASE
3 0 0 0 0 0 0 5. One way to find a basis for Rthat contains the vectors v, = (1, 1, 0, 0) and v2 = (1, 0, 1, 0) is to consider the set of vectors consisting of v, and v2, together with the standard basis vectors, e = (1, 0, 0, 0), ez = (0,1,0,0), z = (0,0,1,0), and e. = (0, 0, 0, 1). Let A be the matrix whose columns consist of the vectors V1, V2, e1, ez, ez, and es, and apply rref to A to obtain 1 1 1 0 0 0 1 0 0 10 0 1 0 1 0 0 1 A = 0 0 1 0 0 1 1 0 0 0 1-1-1 0 0 0 0 0 1 0 0 0 0 1 The leading ones of the reduced matrix on the right are in columns 1, 2, 3, and 6, so a basis for R$ consists of the corresponding column vectors of A: {v,, V2, e,, ex}. A convenient way to construct the matrix A is to define the matrix B whose columns are the given vectors v, and v2. Then A is the matrix obtained by adjoining the 4 x 4 identity matrix to B: A = [B eye(4)]. Use this algorithm to find a basis for RS that contains the vectors. (a) v = (2, 1, 0, 0, 0), V2 = (-1,0,1,0,0) (b) v (1,0,2,0,0), v2 = (1, 1, 2,0,0), V3 = (1, 1, 1, 0, 1)
PLEASE
3 0 0 0 0 0 0 5. One way to find a basis for Rthat contains the vectors v, = (1, 1, 0, 0) and v2 = (1, 0, 1, 0) is to consider the set of vectors consisting of v, and v2, together with the standard basis vectors, e = (1, 0, 0, 0), ez = (0,1,0,0), z = (0,0,1,0), and e. = (0, 0, 0, 1). Let A be the matrix whose columns consist of the vectors V1, V2, e1, ez, ez, and es, and apply rref to A to obtain 1 1 1 0 0 0 1 0 0 10 0 1 0 1 0 0 1 A = 0 0 1 0 0 1 1 0 0 0 1-1-1 0 0 0 0 0 1 0 0 0 0 1 The leading ones of the reduced matrix on the right are in columns 1, 2, 3, and 6, so a basis for R$ consists of the corresponding column vectors of A: {v,, V2, e,, ex}. A convenient way to construct the matrix A is to define the matrix B whose columns are the given vectors v, and v2. Then A is the matrix obtained by adjoining the 4 x 4 identity matrix to B: A = [B eye(4)]. Use this algorithm to find a basis for RS that contains the vectors. (a) v = (2, 1, 0, 0, 0), V2 = (-1,0,1,0,0) (b) v (1,0,2,0,0), v2 = (1, 1, 2,0,0), V3 = (1, 1, 1, 0, 1)