Scalar coefficients for a linear combination of matrices

2 次查看(过去 30 天)
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