Over- and under-determined least squares examples Matlab scripts with examples of underdetermined least squares solutions (using Lagrange multipliers) and overdetermined least squares are provided.