Fit model with 3 independent variables and many parameters to data?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Justin Solomon
el 26 de Oct. de 2012
Respondida: Sander van Otterdijk
el 18 de Abr. de 2019
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 comentario
Matt J
el 26 de Oct. de 2012
For more general kinds of fitting, you probably need Optimization Toolbox solvers.
Respuesta aceptada
Sean de Wolski
el 26 de Oct. de 2012
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 comentarios
Más respuestas (1)
Sander van Otterdijk
el 18 de Abr. de 2019
hoi
dit is een code
do
if code = dit
do: zijn.
end
0 comentarios
Ver también
Categorías
Más información sobre Systems of Nonlinear Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!