Introduction - If you have any usage issues, please Google them yourself
Matlab realization of the surface fitting algorithm, given a set of coordinates (x, y, z) to be the synthesis function (x, y, Z for the line vector), the least squares method to get the input of the amount of the multi- order matrix. When Q, P is larger, the smaller the variance of the function and the original data, you can make a picture to see.