%
% Computing the inverse of a matrix
%


A = [1 0 -1 ; -2 1 0 ; 1 -1 2]

Ainv = inv(A)

% let us check if A*Ainv=Ainv*A=I

A*Ainv
Ainv*A

% The identity matrix can be obtained by

I3=eye(3)
