For this problem, you will be typing in the command line window to complete this problem.
Write commands to obtain the inverse of the array of A = [2 5; 10 4] by converting [A I] to [I AI] where
I is a 2x2 identify matrix (I = [1 0; 0 1]) and AI is the inverse of A. You are not allowed to use inv().
So, your initial matrix should be [2 5 1 0; 10 4 0 1] which is the combined [A I]. Once you convert A in
the initial matrix to I using a series of mathematical operations, the 3rd and the 4th columns of the
resulting matrix is AI. Extract the AI as the solution. Your last command should be A*AI that displays the
2x2 identify matrix as the result.
Comments
Leave a comment