MATLAB曲线拟合 255
㏒yi=α+βFi+a㏒Ci+b㏒Ei+c㏒Gi+d㏒Oi+εi,想要拟合这个曲线,求出α这些变量的值已知的值是YI=[107055,121584,129938,1377...
㏒yi= α + βFi+ a㏒Ci+b㏒Ei+c㏒Gi+d㏒Oi+ εi,
想要拟合这个曲线,求出α这些变量的值
已知的值是YI = [107055,121584,129938,137793,143638,150678,155491]
FI = [259.66,259.66,259.66,259.66,259.66,259.66,259.66]
EI = [0.5852,0.5878,0.6,0.6006,0.5947,0.5699,0.6015]
CI = [2.9273,3.4404,3.738,4.004,4.0614,4.0831,4.2976]
GI = [0.04158,0.08989,0.08596,0.09545,0.09911,0.10166,0.10693]
OI = [0.02697,0.02372,0.02319,0.02227,0.02263,0.02079,0.02007] 展开
想要拟合这个曲线,求出α这些变量的值
已知的值是YI = [107055,121584,129938,137793,143638,150678,155491]
FI = [259.66,259.66,259.66,259.66,259.66,259.66,259.66]
EI = [0.5852,0.5878,0.6,0.6006,0.5947,0.5699,0.6015]
CI = [2.9273,3.4404,3.738,4.004,4.0614,4.0831,4.2976]
GI = [0.04158,0.08989,0.08596,0.09545,0.09911,0.10166,0.10693]
OI = [0.02697,0.02372,0.02319,0.02227,0.02263,0.02079,0.02007] 展开
2个回答
展开全部
㏒yi= α + βFi+ a㏒Ci+b㏒Ei+c㏒Gi+d㏒Oi+ εi,
想要拟合这个曲线,求出α这些变量的值
已知的值是YI = [107055,121584,129938,137793,143638,150678,155491]
FI = [259.66,259.66,259.66,259.66,259.66,259.66,259.66]
EI = [0.5852,0.5878,0.6,0.6006,0.5947,0.5699,0.6015]
CI = [2.9273,3.4404,3.738,4.004,4.0614,4.0831,4.2976]
GI = [0.04158,0.08989,0.08596,0.09545,0.09911,0.10166,0.10693]
OI = [0.02697,0.02372,0.02319,0.02227,0.02263,0.02079,0.02007]
想要拟合这个曲线,求出α这些变量的值
已知的值是YI = [107055,121584,129938,137793,143638,150678,155491]
FI = [259.66,259.66,259.66,259.66,259.66,259.66,259.66]
EI = [0.5852,0.5878,0.6,0.6006,0.5947,0.5699,0.6015]
CI = [2.9273,3.4404,3.738,4.004,4.0614,4.0831,4.2976]
GI = [0.04158,0.08989,0.08596,0.09545,0.09911,0.10166,0.10693]
OI = [0.02697,0.02372,0.02319,0.02227,0.02263,0.02079,0.02007]
展开全部
程序如下:下面用的是非线性最小二乘法拟合
x=[0.10753,0.11675,0.12289,0.13825,0.15362,0.18434];
y=[23456.0187, 21071.8357, 29422.728, 20509.8033, 27338.5575, 25512.677];
fun=inline('a(1).*x.^(a(2))','a','x');
a=lsqcurvefit(fun,[0 1],x,y);
x1=min(x):0.001:max(x);
y2=fun(a,x1);
plot(x,y,'o',x1,y2)
disp(['y=' num2str(a(1)) '*x^' num2str(a(2))])
x=[0.10753,0.11675,0.12289,0.13825,0.15362,0.18434];
y=[23456.0187, 21071.8357, 29422.728, 20509.8033, 27338.5575, 25512.677];
fun=inline('a(1).*x.^(a(2))','a','x');
a=lsqcurvefit(fun,[0 1],x,y);
x1=min(x):0.001:max(x);
y2=fun(a,x1);
plot(x,y,'o',x1,y2)
disp(['y=' num2str(a(1)) '*x^' num2str(a(2))])
追问
谢谢,不过我想要是这个函数的6个变量的拟合
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询