Scalar coefficients for a linear combination of matrices

조회 수: 2 (최근 30일)
Pierre-Luc Rivet
Pierre-Luc Rivet 2020년 3월 6일
편집: David Goodmanson 2020년 3월 6일
Say I have the equation : aM + bN = C Where M, N and C are matrices and a, b are scalars. How do I find them knowing that C is a linear combination of M and N?

채택된 답변

David Goodmanson
David Goodmanson 2020년 3월 6일
편집: David Goodmanson 2020년 3월 6일
HI Pierre-Luc
[M(:) N(:)]\C(:) produces [a;b]
This assumes that M and N are not proportional to each other, otherwise there are an infinite number of solutions.

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by