matlab 三维数据多项式拟合,matlab多项式拟合

在命令窗口下输入x=[。。。]y=[。。。]cftool在CurveFittingTool界面中,单击Data。。。,选择xData和yData,选择Createdataset,选择Close在CurveFittingTool界面中,单击Fitting。。。,选择Newfit,选择Typeoffit,选择Polynomial,选择9thdegreepolynomial,打勾CenterandscaleXdata项和Immediateapply项,选择Apply在Results框内,就会出现如下信息LinearmodelPoly9:f(x)=p1*x^9+p2*x^8+p3*x^7+p4*x^6+p5*x^5+p6*x^4+p7*x^3+p8*x^2+p9*x+p10wherexisnormalizedbymean2007andstd4.183Coefficients(with95%confidencebounds):p1=1250(-2623,5123)p2=-1317(-3803,1169)p3=-7686(-2.787e+004,1.25e+004)p4=7016(-4784,1.882e+004)p5=1.706e+004(-1.775e+004,5.186e+004)p6=-1.244e+004(-2.995e+004,5083)p7=-1.69e+004(-3.952e+004,5721)p8=8533(-214.7,1.728e+004)p9=9654(5118,1.419e+004)p10=1.902e+004(1.797e+004,2.007e+004)Goodnessoffit:SSE:1.213e+006R-square:0.9921AdjustedR-square:0.9742希望能解决您的问题。

阅读全文 >

你可能感兴趣的:(matlab,三维数据多项式拟合)