Curve fitting using custom model
Ältere Kommentare anzeigen
Given set of x and y, how can I solve the parameter a, b and c in the model
y = a * x^b + c
to best fit the given data?
As I will further implement the algorithm in C++, I would prefer not using built-in Matlab functions to solve parameters.
Could anyone please suggest an algorithm? Many thanks, Kyle.
2 Kommentare
Walter Roberson
am 28 Jul. 2015
Are a and x certain to be non-negative ?
Kyle Wang
am 28 Jul. 2015
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!