Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Well indeed the inhomogeneous linear systems produce awful error: norm(Atestx-Btest) = 4.6006 (inhomogeneous) norm(Ax) = 2.9254e-016 (homogeneous) I think i am getting somewhere with this. I am suspecting that there is something wrong with the formulation of the inhomogeneous equations.