How to curve fit custom equation with sigma function
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abolfazl
el 3 de Feb. de 2023
Comentada: Abolfazl
el 6 de Feb. de 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 comentarios
Alex Sha
el 4 de Feb. de 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
Respuesta aceptada
Torsten
el 3 de Feb. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!