Use MATLAB to generate random 4 4 matrices A and B. For each of the following

Question:

Use MATLAB to generate random 4 × 4 matrices A and B. For each of the following compute A1, A2, A3, A4 as indicated and determine which of the matrices are equal. You can use MATLAB to test whether two matrices are equal by computing their difference.
(a) A1 = A * B, A2 = B * A, A3 = (A′ * B′)′, A4 = (B′ * A′)′
(b) A1 = A′ * B′, A2 = (A * B)′, A3 = B′ * A′, A4 = (B * A)′
(c) A1 = inv(A * B), A2 = inv(A) * inv(B), A3 = inv(B * A), A4 = inv(B) * inv(A)
(d) A1 = inv((A * B)′), A2 = inv(A′ * B′), A3 = inv(A′) * inv(B′), A4 = (inv(A) * inv(B))′
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: