三维拟合结果为什么不对。

我用的1stopt1.5破解版,是不是缺少什么文件?下面是1stopt中的程序,目测没人解决了……
如果坛友能用MATLAB实现,也请发一下程序,谢谢!很着急!
Parameters A,B;
Variable t,T,FR;
Constant E=1.2;
Function FR=B*exp(-A*B*E/(0.8617*10^(-4)*(T+273)))*t^(B-1);
Data;
0 34.50633988 0.002782488
0.5 34.55914109 0.00265638
1 34.63399425 0.001628478
1.5 34.73104226 0.001543476
2 34.85047069 0.001733922
2.5 34.99250839 0.002762185
3 35.15742819 0.002772867
3.5 35.34554781 0.002320403
4 35.55723085 0.002413772
4.5 35.79288799 0.001994703
5 36.05297829 0.003062299
5.5 36.3380107 0.003621364
6 36.6485457 0.003443173
6.5 36.98519717 0.004201969
7 37.34863437 0.005271003
7.5 37.73958419 0.006281804
8 38.15883355 0.009731087
8.5 38.60723206 0.009115544
9 39.08569487 0.015570416
9.5 39.59520576 0.017278691
10 40.13682054 0.023086702
10.5 40.71167068 0.026215632
11 41.32096722 0.032506574
11.5 41.96600502 0.050894816
12 42.64816733 0.06439287
12.5 43.36893071 0.071478041
13 44.1298703 0.089469044
13.5 44.93266557 0.107873772
14 45.77910642 0.107642973
14.5 46.67109978 0.142503626
15 47.6106767 0.166681293
15.5 48.6 0.185226709
16 49.64137244 0.214772334
16.5 50.73724555 0.276719919
17 51.89022913 0.32069752
17.5 53.1031014 0.360281528
18 54.37882002 0.405510711
得到的结果是t-FR的二维曲线拟合图,而且t的范围是0-36,扩大了一倍,搞不明白哪错了。求指导!

 Accepted Answer

gemave
gemave on 21 Nov 2022

0 votes

1stOpt不区分大小写,把“T”改成“T1”,结果:
均方差(RMSE):0.00561977154174082
残差平方和(SSE):0.00116852779071032
相关系数(R): 0.998685075432356
相关系数之平方(R^2): 0.99737187989133
确定系数(DC): 0.997371807096921
卡方系数(Chi-Square): 0.0243415916922924
F统计(F-Statistic): 13317.1351155397
参数 最佳估算
---------- -------------
a 0.065497637229358
b 4.63617478963331

More Answers (0)

Tags

Asked:

on 21 Nov 2022

Answered:

on 21 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!