벡터v가 나머지 벡터들의 일차결합인가를 결정하라.

1 回表示 (過去 30 日間)
taewoong yeom
taewoong yeom 2019 年 10 月 6 日
回答済み: Nishant Gupta 2019 年 10 月 11 日
벡터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]

採用された回答

Nishant Gupta
Nishant Gupta 2019 年 10 月 11 日
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 件)

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!