벡터v가 나머지 벡터들의 일차결합인가를 결정하라.
1 view (last 30 days)
Show older comments
taewoong yeom
on 6 Oct 2019
Answered: Nishant Gupta
on 11 Oct 2019
벡터v가 나머지 벡터들의 일차결합인가를 결정하라는데 어떻게하는지 모르겠어요.
v=[3.2; 2.0; -2.6]
u1=[1.0; 0.4; 4.8]
u2=[3.4; 1.4; -6.4]
u3=[-1.2; 0.2; -1.0]
0 Comments
Accepted Answer
Nishant Gupta
on 11 Oct 2019
First, make a matrix whose each row contains the transpose of each of the given vector like:
A = [ v'; u1'; u2'; u3' ]
Then reduce matrix A to echlon form using rref function :
E = rref(A);
whose detailed information is there in the following link:
Then the vectors v, u1,u2 and u3 are linearly dependent if and only if E has a row of zeroes. You can refer to the following document for Linear Dependence Test of vectors:
0 Comments
More Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!