求大侠拟合二元函数.最好是MATALB拟合.z=a*x+b*x*y+c*exp(d*x)-(b/d)*y*exp(d*x)x=【29,65,43,39,62,40,43,52,53,61,30,42,39,43,57,47,17,16】y=【20,61,54,16,53,42,33,19,59,38,19,44,24,24,22,42,10,10】z= 【05,12,11,11,11,11,13,18,12,10,13,
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 01:53:05
求大侠拟合二元函数.最好是MATALB拟合.z=a*x+b*x*y+c*exp(d*x)-(b/d)*y*exp(d*x)x=【29,65,43,39,62,40,43,52,53,61,30,42,39,43,57,47,17,16】y=【20,61,54,16,53,42,33,19,59,38,19,44,24,24,22,42,10,10】z= 【05,12,11,11,11,11,13,18,12,10,13,
求大侠拟合二元函数.最好是MATALB拟合.z=a*x+b*x*y+c*exp(d*x)-(b/d)*y*exp(d*x)
x=【29,65,43,39,62,40,43,52,53,61,30,42,39,43,57,47,17,16】
y=【20,61,54,16,53,42,33,19,59,38,19,44,24,24,22,42,10,10】
z= 【05,12,11,11,11,11,13,18,12,10,13,18,16,19,12,16,15,13】
最好带程序.算出a,b,c,d.
求大侠拟合二元函数.最好是MATALB拟合.z=a*x+b*x*y+c*exp(d*x)-(b/d)*y*exp(d*x)x=【29,65,43,39,62,40,43,52,53,61,30,42,39,43,57,47,17,16】y=【20,61,54,16,53,42,33,19,59,38,19,44,24,24,22,42,10,10】z= 【05,12,11,11,11,11,13,18,12,10,13,
d若是确定,就会转化为线性拟合,问题就简单多了.但是现在d既在分母上,又在指数上,变成了非线性拟合,问题变得极为复杂.建议先根据经验值估计一个d,然后求出拟合出a,b,c后再变换一个d,通过这种方法可以给出一个近似最优的d和相应的a,b,c.
简单计算了一下,找了一组,但评估显示不是太好,仅供参考吧。
a = 0.322943, b = -5.87159*10^-26, c = -3.85351*10^-24, d = 0.937079
擦