Fit data with dependent parameters
古いコメントを表示
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!
採用された回答
その他の回答 (1 件)
Vogel
2018 年 7 月 17 日
0 投票
4 件のコメント
Star Strider
2018 年 7 月 17 日
I have no idea how to do either of those, especially for a nonlinear function.
Vogel
2018 年 7 月 18 日
Matt J
2018 年 7 月 18 日
You could probably do it with lsqlin, but better you post this as a new question, detailing your actual model function.
Vogel
2018 年 7 月 18 日
カテゴリ
ヘルプ センター および File Exchange で Linear Least Squares についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!