Introduction - If you have any usage issues, please Google them yourself
Polynomial and non-polynomial curve fitting, polynomial fitting in matlab polyfit function can be used to solve polynomial coefficients, solve the value of a data point to fit a polynomial function by polyval