% simeq.m built into MATLAB A = [ 1 2 3 ; 2 2 3 ; 3 3 3] y = [6 ; 8 ; 9] % must be column x = A \ y % solve A x = y % done