Comparison of different ways to solve an underdetermined linear system from Matlab