Introduction - If you have any usage issues, please Google them yourself
This books An the Introduction to Scientific Computing Twelve Computational Projects Solved with MATLAB in the third chapter polynomial approximation function of MATLAB, the specific function and the polynomial order can see books