插值与拟合
方程有解即为插值,方程无解,求其投影,即为拟合
在matlab 里面,最小二乘法的函数是 lsqnonli & lsqcurvefit
其中,lsq refer to least square