求助:关于二元多项式拟合问题。

采用正交函数最小二乘法拟合二元函数,如下:a=[-4.764 -1.764 1.236 4.236 7.236 -4.764 -1.764 1.236 4.236 7.236 -4.764 -1.764 1.236 4.236 7.236 -4.764 -1.764 1.236 4.236 7.236 -4.764 -1.764 1.236 4.236 7.236];b=[-6 -6 -6 -6 -6 -3 -3 -3 -3 -3 0 0 0 0 0 3 3 3 3 3 6 6 6 6 6 ];
Cx=[0.76325 0.75503 0.75596 0.76111 0.77578 0.75268 0.73829 0.73597 0.75714 0.77067 0.7381 0.73252 0.7309 0.74244 0.76811 0.75268 0.73829 0.73597 0.75714 0.77067 0.76325 0.75503 0.75596 0.76111 0.775782];
求出Cx=f(a,b)的表达式。没有函数模型

 采纳的回答

bogim
bogim 2022-11-17

0 个投票

1stOpt公式自动搜索匹配,下面是一个供参考:
z = p1+p2/((1+((x-p3)/p4)^2)*(1+((y-p5)/p6)^2));
z=Cx, x=a, y=b;
均方差(RMSE):0.00284265540822407
残差平方和(SSE):0.000202017244247639
相关系数(R): 0.977461201924933
相关系数之平方(R^2): 0.955430401268535
确定系数(DC): 0.955430401268535
卡方系数(Chi-Square): 0.000134389592991762
F统计(F-Statistic): 85.2599105254515
参数 最佳估算
---------- -------------
p1 0.803828015470992
p2 -0.0761295274349799
p3 -0.475567267118005
p4 -8.00458343029585
p5 -1.61977817602727E-5
p6 8.69945557748973

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!