1stopt拟合的问题
对下列函数进行拟合应该怎么处理:MinFunction sum(i=1:20)((x[i]-(R*COS(t[i])-e*COS(5*t[i])-(R*COS(t[i])-5*e*COS(5*t[i]))*a/(sqrt(R^2+25*e^2-10*R*e*cos(4*t[i])))))^2)+
sum(i=1:20)((y[i]-(R*SIN(t[i])-e*SIN(5*t[i])-(R*SIN(t[i])-5*e*SIN(5*t[i]))*a/(sqrt(R^2+25*e^2-10*R*e*cos(4*t[i])))))^2);
其中x,y,t均主已知数据点。如何求出最优的R,e,a。请高手帮忙指点为一下,谢谢!