MATLAB - Simple Matrix Calculations

>> A = [1 3 ; 3 2]

A =

1 3
3 2

>> B = inv(A)

B =

-0.2857 0.4286
0.4286 -0.1429

>> B = expm(A)

B =

39.3228 46.1663
46.1663 54.7116

>> det(A)

ans =

-7

>> eig(A)

ans =

-1.5414
4.5414