multiplication of multiple matrices

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

 채택된 답변

Walter Roberson
Walter Roberson 2013년 8월 16일

0 개 추천

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

Melissa
Melissa 2013년 8월 16일
since matrices were of different sizes I had to use / but it worked. Thanks.
Melissa
Melissa 2013년 8월 19일
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 2013년 8월 20일
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 ?

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by