Fit model with 3 independent variables and many parameters to data?
2 ビュー (過去 30 日間)
古いコメントを表示
Justin Solomon
2012 年 10 月 26 日
回答済み: Sander van Otterdijk
2019 年 4 月 18 日
Is it possible to use the fit() function to fit a model with 3 independent variables and many parameters (coefficients)? Reading through the documentation, I get the impression that Matlab only supports 2 independent variables. Any insight would be helpful.
Thanks, Justin
1 件のコメント
Matt J
2012 年 10 月 26 日
For more general kinds of fitting, you probably need Optimization Toolbox solvers.
採用された回答
Sean de Wolski
2012 年 10 月 26 日
Do you have the Statistics or Optimization Toolboxes? If so:
Optim:
* doc lsqcurvefit
* doc lsqlin
* doc lsqnonlin
Stats:
* doc NonlinearModel
* doc LinearModel
* doc regress
I'm missing many others, we can point you in a more specific direction if you have more details.
4 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!