Please use MATLAB to answer the following Also please provid
Please use MATLAB to answer the following. Also, please provide coding and pictures - thank you!!
Solution
5. Solution below,
A=ones(2,3);
UU=[A 0*A;0*A A];
6. Solution below, there are 2 solutions, you can use the inverse method or reverse division (x=A\\b) method,
explanation is - consider the equation in matrix as AX=B, so when A goes to other side then X=(A^-1) * B. (A^-1) is A inverse.
a=[-2 -3 5 3;4 3 -6 -6;2 7 10 -3;15 -12 3 1];
b=[13; -11; -7; 9];
f=inv(c);
x=f*d;
disp(x)
or
x =a\\b;
disp(x);
