% Matrix inversion and soultion of simle linear eauations., Sam Gordji
% 7/12/08, program # 1 for seminar, by Sam Gordji.
% For seminars to be offered in Fall of 07. First illustrate matrix inversion.
% NOTE THAT TWO '%' sign allows usrs to run only a section of the code by
% pressing Ctrl and Enter at the same time
%%
a=[1 2 3
2 3 2
1 2 2]
b=inv(a)
%%
% Matreix b is the inverse of Matrix a.
%%
a = inv(b)
c=a*b
%%
% Note that c is identity matrix or I matrix.
%%