Linear Combination of 3 matrices.

조회 수: 5 (최근 30일)
Porgs
Porgs 2018년 4월 15일
댓글: Walter Roberson 2018년 4월 15일
How do you compute the linear combination of 3 (1x3) matrices.

채택된 답변

Walter Roberson
Walter Roberson 2018년 4월 15일
There are an infinite number of linear combinations of matrices: you cannot compute them all.
Is it possible that the question you are dealing with has to do with finding the point that is at the intersection of linear combinations of three vectors?
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 4월 15일
Let the vectors be v1, v2, v3, and let the target matrix be b. Then
A = [v1(:), v2(:), v3(:)];
x = A\b
Then b is a linear combination of the vectors if and only if x either only has one column or else x(:,2:end)./x(:,1) is the same (to within round-off) for all entries in any given column. (But do be careful about dividing by 0)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Porgs
Porgs 2018년 4월 15일
I'm trying to prove that one given matrix is the linear combination of 3 other matrices.

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by