MATLAB Answers

Options when drawing using the Curve Fitting tool

1 ビュー (過去 30 日間)
haeyeon JI
haeyeon JI 2020 年 8 月 22 日
コメント済み: Alex Sha 2020 年 8 月 24 日
I am inputting x y z data and using 'Curve Fitting tool' to create a nonlinear regression graph.
I am trying to find the coefficients a,b,c,d suitable for the data using the 'Custom Equation' formula, but the graph is too different from the data.
I tried changing Robust and Algorithm, but the graph is not similar to the data.
What additional work should I do to get the graph?

  0 件のコメント

サインインしてコメントする。

採用された回答

Alex Sha
Alex Sha 2020 年 8 月 23 日
Hi, post your data and function in txt format, if possible.

  4 件のコメント

表示 1 件の古いコメント
Walter Roberson
Walter Roberson 2020 年 8 月 24 日
The function in the image appears to be a*x*b*log10(y+c)+d ?
If so then a cannot be distinguished from b: you can only distinguish their product.
haeyeon JI
haeyeon JI 2020 年 8 月 24 日
It is an expected expression,
and my expression is ax+blog10(y+c), not ax*blog10(y+c).
And please note that the data has been modified
Alex Sha
Alex Sha 2020 年 8 月 24 日
The fitting result is not so good if the function is: z=a*x+b*log10(y+c)
Root of Mean Square Error (RMSE): 0.115584191368428
Sum of Squared Residual: 0.654625559420376
Correlation Coef. (R): 0.855538827407886
R-Square: 0.731946685202461
Adjusted R-Square: 0.714076464215958
Parameter Best Estimate
---------- -------------
a 0.0741121571659251
b -0.283418916981476
c -9.47213514559854

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by