Question: Can you please do this in matlab 5. Let W be the subspace of R8 given by 21 3 1 21 1 2 2 3521
Can you please do this in matlab 5. Let W be the subspace of R8 given by 21 3 1 21 1 2 2 3521 3 2 W Span 592 635 (a) Enter those five vectors as the columns of a matrix A and compute its rank (b) The previous computation shows that the five veetors are linearly dependent, hence they do not form a basis for W. Find a basis for W. (Hint: Treat W as Col A) (e) Enter your basis for W ns the columns of a matrix B. Compute the factorization B-QR with a single command. Give an orthonormal basis for W. (d) Let E-QQ. As a linear transformation on R, E is the orthogomal projection onto the subspace W. Use E to compute the orthogonal projection of the vector v = (1, 1, 1, 1, 1,1)" onto W. (e) Find a basis for Wi as follows. Note that W Col A Col B. From a theorem in class, we have so it suffices to find a basis for Nul() (f) As you did for W, find an orthonormal basis for W (g) Compute the matrix F for the orthogonal projection onto W1. What is the sum E + FY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
