A=[1 4 7
    8 2 0
    5 -1 1]
b=[6
    10
    3]
d=1:10
B=A'
C=B+inv(A)-3*A*B
%arvutus
A(1,2)+B(2,1)-C(3,3)+d(10)
%lin. VS Ax=b lahendamine
x=inv(A)*b