Error fit: Complex value computed by model function
古いコメントを表示
Hi I want to fit my data through the equation:
but it appears the error: Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
2 件のコメント
Pietro Scapolo
2022 年 5 月 12 日
Alex Sha
2022 年 5 月 13 日
There are two parameters (a and b) only, the result will not be good:
Sum Squared Error (SSE): 779.783298373557
Root of Mean Square Error (RMSE): 0.279246002365935
Correlation Coef. (R): 0.843000031198818
R-Square: 0.710649052601208
Parameter Best Estimate
---------- -------------
a 3714.9148653265
b -572016.731340392

回答 (1 件)
Fit under the constraint
b^2-a^2 >= 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!