The polyfit command, for example, polyfit(x,y,2) regresses y vs x data. What does the 2 stand for in the third argument of the polyfit example.
First order polynomial
Second order polynomial
Two data points
Interpolation