How to curve fit custom equation with sigma function
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abolfazl
am 3 Feb. 2023
Kommentiert: Abolfazl
am 6 Feb. 2023
Dear all,
I would like to get coefficient a, b, and c from the below equation,
Could you please let me know how I can write this equation in 'custom equation' option in curve fitting tool or is there any other way to do it?
the sample data was attached.
Many thanks in advance

2 Kommentare
Alex Sha
am 4 Feb. 2023
Hi, are the results below what you want?
Sum Squared Error (SSE): 0.00102105467088842
Root of Mean Square Error (RMSE): 0.00963447725094346
Correlation Coef. (R): 0.997357643506717
R-Square: 0.994722269061272
Parameter Best Estimate
--------- -------------
a 0.109551186277872
b 0.290413540962005
c 0.0381729804932852
Akzeptierte Antwort
Torsten
am 3 Feb. 2023
Look at the example
Fit a Custom Model Using an Anonymous Function
under
to see how you can specify your own fit function.
Specify your model function from above in a separate function file, not as a function handle.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!