一组坐标如何拟合函数。

如何运用一组坐标值拟合出函数表达式
x=[1,1.2,1.5,2,2.5,3,4,5,6];
y=[74.2,98.8,136.1,198.7,268.9,315.7,343.2,386.1,407.6];
求大神指点哈

 Respuesta aceptada

lefori
lefori el 24 de Nov. de 2022

0 votos

公式不确定,可以用1stOpt的公式自动搜索匹配功能,下面一个参考下:
y = p1*x^(p2+p3*x)+p4*x;
均方差(RMSE):5.70056469616121
残差平方和(SSE):292.467940696076
相关系数(R): 0.998840520758627
相关系数之平方(R^2): 0.997682385909365
确定系数(DC): 0.997679659716762
卡方系数(Chi-Square): 0.458529131555047
F统计(F-Statistic): 718.285450934162
参数 最佳估算
---------- -------------
p1 10.5971317145081
p2 4.0045945162562
p3 -0.611285504382721
p4 65.3647037237793

Más respuestas (0)

Categorías

Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Nov. de 2022

Respondida:

el 24 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!