polyfit is a (somewhat briefer) synonym for LeastSquaresPolynomialFit.
polyfit
LeastSquaresPolynomialFit