Use MATLAB to determine whether w is in the span of the given vectors v1, v2, ... vn. If your answer is yes, write w as a linear combination of the vectors v1, v2, ... vn and enter the coefficients as entries of the matrix as instructed:
1.) v1 = (1, 2, 3, 4), v2 = (-1, 0, 1, 3), v3 = (0, 5, -6, 8) and w = (3, -6, 17, 11). ( Note you need enter the vectors in MATLAB as columns of a matrix EXM1.) If you decided that w = c1v1 + c2v2 + ... + cnvn type EXA1=[c1 c2 ... cn] Example: if w = 2v1 - 3v2 + 5v3 enter EX1 = [2 - 3 5]
2.) v1 = (1, 2, 3, 4), v2 = (-1, 0, 1, 3), v3 = (0, 5, -6, 8) and w = (0, -6, 17, 11). ( Note you need enter the vectors in MATLAB as columns of a matrix EXM2.) If you decided that w = c1v1 + c2v2 + ... + cnvn type EXA2=[c1 c2 ... cn] Example: if w = 2v1 - 3v2 + 5v3 enter EX1 = [2 - 3 5]
3.) v1 = (1, 2, 3, 4), v2 = (-1, 0, 1, 3), v3 = (0, 5, -6, 8), v4 = (1, 15, -12, 8) and w = (0, -6, 17, 11). ( Note you need enter the vectors in MATLAB as columns of a matrix EXM3.) If you decided that w = c1v1 + c2v2 + ... + cnvn type EXA3=[c1 c2 ... cn] Example: if w = 2v1 - 3v2 + 5v3 enter EX1 = [2 - 3 5]
4.) v1 = (1, 2, 3, 4), v2 = (-1, 0, 1, 3), v3 = (0, 5, -6, 8), v4 = (0, -8, 16, -9) and w = (0, -6, 17, 11). ( Note you need enter the vectors in MATLAB as columns of a matrix EXM4.) If you decided that w = c1v1 + c2v2 + ... + cnvn type EXA4=[c1 c2 ... cn] Example: if w = 2v1 - 3v2 + 5v3 enter EX1 = [2 - 3 5]