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
Registration is free. Ask a follow-up in this thread, or start your own.
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!
 
Physics news on Phys.org