Given the following arrays matrices in MATLAB A 28 3627 16


Given the following arrays (matrices) in MATLAB >>A = [28 36;-27 16]; B = [-7 -3; 9 4]; c = [3;-2] compute a) A*B*C, b) A.*B, c)C*B*A, d)A./B, e) B.^2

Solution

Create three arrays, A, B and C.

A = [28 36; -27 16];
B = [-7 -3; 9 4];
C = [3;2];
Calculate the product of A, B and C.

A1 = (A*B)*C;
B1 = A.*B;
C1 = C*B*A;
D1 = A./B;
E1 = B.^2;

 Given the following arrays (matrices) in MATLAB >>A = [28 36;-27 16]; B = [-7 -3; 9 4]; c = [3;-2] compute a) A*B*C, b) A.*B, c)C*B*A, d)A./B, e) B.^2Sol

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site