Professional Documents
Culture Documents
Instructions:
1. Write a user defined function in MATLAB to obtain transpose of any matrix given as an input,
compare it with inbuilt transpose function in MATLAB (Hint: use for loop to convert 𝑎𝑎(𝑖𝑖, 𝑗𝑗)−>
2 −5 7
𝑎𝑎(𝑗𝑗, 𝑖𝑖)). Test your output on simple matrix 𝐴𝐴 = �1 5 8�
3 7 9
1 5 4
2. Obtain all minors for a 3 × 3 matrix A=�0 2 1�, also evaluate the determinant of matrix.
1 2 3
1 2 6
3. Calculate the adjoint of a matrix E=�0 1 3�, also obtain the inverse of this matrix, compare your
0 0 6
result from inv function in the MATLAB.
4. Using the method of substitution, solve for 𝑥𝑥1 , 𝑥𝑥2 , and 𝑥𝑥3 in the following equations,
5. Using Cramer’s rule obtain the unknowns in the below equations, also mention the three
determinants you get in the process and show the procedure you followed.