Fit model with 3 independent variables and many parameters to data?
조회 수: 2 (최근 30일)
이전 댓글 표시
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!