How to curve fit custom equation with sigma function

6 vues (au cours des 30 derniers jours)
Abolfazl
Abolfazl le 3 Fév 2023
Commenté : Abolfazl le 6 Fév 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 commentaires
Alex Sha
Alex Sha le 4 Fév 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
Abolfazl
Abolfazl le 4 Fév 2023
Hi, exactly, Many thanks for your time and kind help. Actually, I should fit a large amount of test results and I need custom equation or function file to fit another test results. could you please help to write it?

Connectez-vous pour commenter.

Réponse acceptée

Torsten
Torsten le 3 Fév 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.
  1 commentaire
Abolfazl
Abolfazl le 6 Fév 2023
Thank you so much for your guide. It works.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by