Use MATLAB to generate random
(a)
(b)
(c)
(d)
a.
Compute the given relationship using random matrix in MATLAB.
The solution is
Given:The matrix has been given
Concept Used:
Given,
Calculate the given relationship in MATLAB.
Program:
clc clear close all A=rand(4); B=rand(4); A1=A*B A2=B*A A3=(A'*B')' A4=(B'*A')' A4-A1 A3-A2
Quarry:
b.
Compute the given relationship using random matrix in MATLAB.
The solution is
Given:The matrix has been given
Concept Used:
Given,
Calculate the given relationship in MATLAB.
Program:
clc clear close all A=rand(4); B=rand(4); A1=A'*B' A2=(A*B)' A3=B'*A' A4=(B*A)' A4-A1 A3-A2
Quarry:
c.
Compute the given relationship using random matrix in MATLAB.
The solution is
Given:The matrix has been given
Concept Used:
Given,
Calculate the given relationship in MATLAB.
Program:
clc clear close all A=rand(4); B=rand(4); A1=inv(A*B) A2=inv(A)*inv(B) A3=inv(B*A) A4=inv(B)*inv(A) A1-A4 A2-A3
Quarry:
d.
Compute the given relationship using random matrix in MATLAB.
The solution is
Given:The matrix has been given
Concept Used:
Given,
Calculate the given relationship in MATLAB.
Program:
clc clear close all A=rand(4); B=rand(4); A1=inv((A*B)') A2=inv(A'*B') A3=inv(A')*inv(B') A4=(inv(A)*inv(B))' A1-A4 A2-A3
Quarry: