Question: MATLAB ASSIGNMENT 1. By typing A = round (10*rand(5)) and B = round (8*rand(5)) , you will generate 2 random 5x5 matrices with integer entries.

MATLAB ASSIGNMENT

1. By typing A = round (10*rand(5)) and B = round (8*rand(5)), you will generate 2 random 5x5 matrices with integer entries. Use these 2 matrices and MATLAB commands to compute the following matrices.

(a) AB (b) BA

(c) (AB)-1 (d) (A)-1(B)-1

(e) (B)-1(A)-1 (f) (A - B)(A + B)

(g) A2 - B2 (h) A2 + AB - BA - B2

(i) (A - 3I)5 (j) (A + B)-1

(k) A-1 + B-1 (l) Determine which, if any,

of the matrices are equal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!