for linear algebra, matlab is more succinct, it has "'" transpose and "^-1" for inverse, so you can type x = A'(AA')^-1*b
Mathematica has an extensive set of typesetting shortcuts. You just need to know where to look.
for linear algebra, matlab is more succinct, it has "'" transpose and "^-1" for inverse, so you can type x = A'(AA')^-1*b