find a basis and dimension for the subspace

6 views (last 30 days)
V=<(1;2;1;-1),(3;1;0;5),(0;5;3;-8)>
I'm new.please write specifically.thank you

Accepted Answer

Wayne King
Wayne King on 23 Dec 2013
V1 = [1;2;1;-1]; V2 = [3;1;0;5]; V3 = [0;5;3;-8];
V = [V1 V2 V3];
rank(X)
The rank of the matrix is 2 meaning the dimension of the space spanned by the columns of the set of three vectors is a two-dimensional subspace of R^3. To find the basic columns
R = rref(V);
The output of rref() shows how to combine columns 1 and 2 to get column three. Specifically,
3*V1-1*V2
  1 Comment
nam
nam on 23 Dec 2013
thank you.how about V={(x1,x2,x3,x4)R4;x1+x2-x3=0 &2x1-x3-x4=0}

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!