MATLAB Answers

multiplication of multiple matrices

18 views (last 30 days)
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
and I want to solve for C. Is there any possible way to do this?
I have thought of this. D=(A*-B)

Accepted Answer

Walter Roberson
Walter Roberson on 16 Aug 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)
Walter Roberson
Walter Roberson on 20 Aug 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 ?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!