A = [3  5; 2  4];
c = A(2,2)+A(1,2)