Fit data with dependent parameters
Ältere Kommentare anzeigen
Hi,
There are two rows of data, x and y. I would like to fit y = f(x), where
f(x) = a*x^3 + b*x^2 + (2a+3b)*x,
i.e. parameters are not independent.
I tried to use the function "fittype", but it does not work (Licensing error: -101,147).
I would like to know if there is any other way to solve it.
Thank you!
Akzeptierte Antwort
Weitere Antworten (1)
Vogel
am 17 Jul. 2018
0 Stimmen
4 Kommentare
Star Strider
am 17 Jul. 2018
I have no idea how to do either of those, especially for a nonlinear function.
Vogel
am 18 Jul. 2018
Matt J
am 18 Jul. 2018
You could probably do it with lsqlin, but better you post this as a new question, detailing your actual model function.
Vogel
am 18 Jul. 2018
Kategorien
Mehr zu Linear Least Squares 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!