Question: using MATLAB 29. Create the following three matrices: 1-35 10-21 A- 2 2 4 B = 5 1 -6 C- 08 2 -2 06 (2
29. Create the following three matrices: 1-35 10-21 A- 2 2 4 B = 5 1 -6 C- 08 2 -2 06 (2 7 -1 -3 5 3 (a) Calculate A+B and B+A to show that addition of matrices is commuta- tive. (b) Calculate A+(B+C) and (A + B) + C to show that addition of matrices is associative. (c) Calculate 3(A+C) and 3A + SC to show that, when matrices are multi- plied by a scalar, the multiplication is distributive. (d) Calculate A*(B+C) and A*B+ A*C to show that matrix multiplication is distributive. 30. Use the matrices A, B, and C from the previous problem to answer the follow- ing: (a) Does A B = B*A? (b) Does A*(B*C) = (A*B)*C? (c) Does (1*B)' = f**bt? ('means transpose) (d) Does (A + B)' = A' + B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
