Scalar coefficients for a linear combination of matrices
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pierre-Luc Rivet
el 6 de Mzo. de 2020
Editada: David Goodmanson
el 6 de Mzo. de 2020
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?
0 comentarios
Respuesta aceptada
David Goodmanson
el 6 de Mzo. de 2020
Editada: David Goodmanson
el 6 de Mzo. de 2020
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 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!