赞
踩
拟合问题,我一般不再用MATLAB了,都是用1stopt软件。
具体代码如下:
Variable x1,x2,x3,x4,yz;
Function yz=a*((-0.088)*(x1)^3+20.909*x1^2-1654.3*x1+43990)+b*368.31*exp(0.3316*x2)+c*(-13.042*x3+592.47)+d*532.98*exp(0.38*x4)+e;
Data;
60 0.670000000000000 2 0.670000000000000 970.800000000000
60 1 3 0.830000000000000 950.900000000000
60 1.33000000000000 4 1 1027.30000000000
60 1.67000000000000 5 1.16000000000000 1042.40000000000
70 0.670000000000000 2 1 384.500000000000
70 1 3 1.16000000000000 402.300000000000
70 1.33000000000000 4 0.670000000000000 501.400000000000
70 1.67000000000000 5 0.830000000000000 5
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。