Borrar filtros
Borrar filtros

multiplication of multiple matrices

1 visualización (últimos 30 días)
Melissa
Melissa el 16 de Ag. de 2013
Good Afternoon,
I know this is probably a silly question to ask but if I have matrices A, B, C and D. With the equation
D=A*(-B*C)
and I want to solve for C. Is there any possible way to do this?
I have thought of this. D=(A*-B)
C=D/E
Thanks,
Mel

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Ag. de 2013
Matrix multiplication is associative so A*(-B*C) is the same as -(A*B)*C . So you can use the \ matrix division operator between D and -(A*B)
  3 comentarios
Melissa
Melissa el 19 de Ag. de 2013
Walter,
Thanks again for all of your help. Another question if you can spare a second. I have tried to look into linear algebra books but how about the same type of problem only:
D=Ax(B*C) Solve for C
Walter Roberson
Walter Roberson el 20 de Ag. de 2013
Is x a vector? If so then there is usually no unique solution.
Are we given any information restricting any of the arrays to be square ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by