How to Fit Nonlinear Equations in MATLAB?

  • Context: MATLAB 
  • Thread starter Thread starter Haorong Wu
  • Start date Start date
  • Tags Tags
    Fit Nonlinear
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Haorong Wu
Messages
422
Reaction score
90
TL;DR
Fitting nonlinear equations with same parameters
Hello. I am trying to fit some nonlinear equations.

I have some data ##\vec \lambda, \vec n, \vec \kappa ##. Now I would like to use them to fit two equations $$n=n(\lambda ; \alpha, \beta, \gamma)$$ $$\kappa=\kappa(\lambda ; \alpha, \beta, \gamma)$$ where ##\alpha, \beta, \gamma## are the parameters to be fitted.

Which toolbox or command should I refer to?

I have tried cftool. But it can only fit one equation. I googled "Fitting nonlinear equations matlab". It seems most of the results are fitting one equation.

Looking for some advice, while I am keeping searching for other keywords.

Thanks!
 
on Phys.org