%-- 10/14/2014 2:40 PM --%

M = [1, 0; 0, 1]

M =

     1     0
     0     1

inv(M)

ans =

     1     0
     0     1

m = [1, 2; 3, 1]

m =

     1     2
     3     1

inv(m)

ans =

   -0.2000    0.4000
    0.6000   -0.2000

b = [2; 3]

b =

     2
     3

% Solve for mx = b using x = m^{-1}b     
     
x = m\b

x =

    0.8000
    0.6000

m/b
Error using  / 
Matrix dimensions must agree.
 
zeros(3,1)

ans =

     0
     0
     0

zeros(3,3)

ans =

     0     0     0
     0     0     0
     0     0     0

ones(3,3)

ans =

     1     1     1
     1     1     1
     1     1     1

eye(3)

ans =

     1     0     0
     0     1     0
     0     0     1

