概述
用SFTOOL拟合一个曲面,想求表达式,可是选择拟合方式使Interpolant(插值),拟合阶数为Cubic(三阶)时,拟合的Result显示如下,没有给出具体的表达式,只有一些拟合指标。结果里说分段线性曲面是从p计算的带来的,系数p=系数结构,这个p到底是什么东西?
Linear interpolant:
f(x,y) = piecewise linear surface computed from p
where x is normalized by mean 107 and std 54.9
and where y is normalized by mean 6 and std 2.831
Coefficients:
p = coefficient structure
Goodness of fit:
SSE: 2.024e-032
R-square: 1
Adjusted R-square: NaN
RMSE: NaN
但是如果选择拟合方式使Polynomial(多项式),x和y拟合阶数为4时,拟合的结果如下。这样就有具体表达式了,请问这是为什么?为什么Interpolant(插值)拟合方式不能生成表达式呢?
Linear model Poly44:
f(x,y) = p00 + p10*x + p01*y + p20*x^2 + p11*x*y + p02*y^2 + p30*x^3 + p21*x^2*y
+ p12*x*y^2 + p03*y^3 + p40*x^4 + p31*x^3*y + p22*x^2*y^2
+ p13*x*y^3 + p04*y^4
Coefficients (with 95% confidence bounds):
p00 = 0.1736 (0.1083, 0.2389)
p10 = -0.008481 (-0.00969, -0.007271)
p01 = 0.05132 (0.0006024, 0.102)
p20 = 0.000146 (0.0001296, 0.0001623)
p11 = -0.001187 (-0.001485, -0.0008891)
p02 = 0.0003874 (-0.01387, 0.01465)
p30 = -9.935e-007 (-1.094e-006, -8.927e-007)
p21 = 9.91e-006 (8.345e-006, 1.147e-005)
p12 = -9e-006 (-4.721e-005, 2.921e-005)
p03 = 7.46e-006 (-0.001658, 0.001673)
p40 = 2.298e-009 (2.07e-009, 2.525e-009)
p31 = -2.676e-008 (-3.061e-008, -2.29e-008)
p22 = 4.878e-008 (-2.96e-008, 1.272e-007)
p13 = -1.999e-007 (-2.095e-006, 1.695e-006)
p04 = 8.498e-007 (-6.79e-005, 6.96e-005)
Goodness of fit:
SSE: 0.1127
R-square: 0.9627
Adjusted R-square: 0.9616
RMSE: 0.01565
最后
以上就是甜美冰淇淋为你收集整理的matlab sftool曲面拟合,有关sftool拟合曲面的小问题的全部内容,希望文章能够帮你解决matlab sftool曲面拟合,有关sftool拟合曲面的小问题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复