Thursday, March 24, 2011

How to find the Inverse of a Matrix

We are only going to focus on the 2x2 Matrix in this exercise.

As a rule of thumb, A*A^-1 = I, where A^-1 is the inverse of matrix A, and I is the identity matrix.


For a 2×2 matrix
 A=[a b; c d],

the matrix inverse is
A^(-1)=1/(|A|)[d -b; -c a]

=1/(ad-bc)[d -b; -c a]..


  The Matlab code for this is again quite straightforward.  For matrix A,

a = inv(A) 

No comments:

Post a Comment