Q = [ 1 -1 1 -1; 1 1 1 1; 1 1 -1 -1; 1 -1 -1 1];
R = [ 2 -1 3 4;0 1 1 1; 0 0 3 0;0 0 0 1]
A = Q*R