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

1 visualización (últimos 30 días)
taewoong yeom
taewoong yeom el 6 de Oct. de 2019
Respondida: Nishant Gupta el 11 de Oct. de 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]

Respuesta aceptada

Nishant Gupta
Nishant Gupta el 11 de Oct. de 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:

Más respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!