MATLAB How to Fit Nonlinear Equations in MATLAB?

  • Thread starter Thread starter Haorong Wu
  • Start date Start date
  • Tags Tags
    Fit Nonlinear
Click For Summary
The discussion revolves around fitting nonlinear equations using MATLAB, specifically for the equations n=n(λ; α, β, γ) and κ=κ(λ; α, β, γ) with parameters α, β, and γ. The user is seeking advice on tools or commands suitable for fitting multiple equations simultaneously, as they found that the cftool only accommodates single equations. Suggestions include searching for resources related to "MATLAB fitting system of equations," with a specific reference to a MathWorks link that provides guidance on parameter fitting for systems of equations with multiple independent variables. The conversation emphasizes the need for effective methods to handle multiple nonlinear equations in MATLAB.
Haorong Wu
Messages
419
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

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K