Equivalent vector representations
Span of two non-parallel space vectors
Computing a linear combination of vectors in MATLAB using row matrix form:
>> v=[2 7 -1] v = 2 7 -1 >> w=[1 -2 0] w = 1 -2 0 >> 3*v+4*w ans = 10 13 -3
Now using column matrix form:
>> v=[2;7;-1] v = 2 7 -1 >> w=[1;-2;0] w = 1 -2 0 >> 3*v+4*w ans = 10 13 -3