Nonlinear Regression Curve Fitting

Click For Summary
The discussion focuses on fitting a large dataset to the Drude-Smith model for conductivity using nonlinear regression in MATLAB. The user has hundreds of data points for σ(ω) and aims to determine the fitting parameters ωp, cn, and τ by splitting the equation into real and imaginary components while keeping ωp constant. There is uncertainty about the fitting process and how to implement it effectively. Suggestions include checking resources on the MathWorks website for nonlinear regression and inquiring if any code has already been developed. The conversation emphasizes the need for guidance on fitting parameters in a complex equation.
Yosty22
Messages
182
Reaction score
4
This isn't a precise homework question, but this seemed like the most reasonable place to post. If not, please feel free to move it.

I have a large set of data points that should fit to a known equation (the Drude-Smith model for conductivity)

The equation the data should fit to is: σ(ω) = (ε0ωp2τ)/(1-iωτ) * [1+Σ(cn)/(1-iωτ)].

I have all of the data, so I have hundreds of data points for σ(ω). I need to have values for other fitting parameters, namely ωp, cn, and τ. To make it solvable, I figure I can do some algebra on the above equation to split it into real and imaginary components, then let ωp be constant. Then, I technically have 2 "equations" (1 real 1 imaginary)and 2 "unknowns" (cn and τ). However, I am unsure how to fit this. Any help would be appreciated.

Note: I will be using MATLAB.
 
Physics news on Phys.org
Yosty22 said:
This isn't a precise homework question, but this seemed like the most reasonable place to post. If not, please feel free to move it.

I have a large set of data points that should fit to a known equation (the Drude-Smith model for conductivity)

The equation the data should fit to is: σ(ω) = (ε0ωp2τ)/(1-iωτ) * [1+Σ(cn)/(1-iωτ)].

I have all of the data, so I have hundreds of data points for σ(ω). I need to have values for other fitting parameters, namely ωp, cn, and τ. To make it solvable, I figure I can do some algebra on the above equation to split it into real and imaginary components, then let ωp be constant. Then, I technically have 2 "equations" (1 real 1 imaginary)and 2 "unknowns" (cn and τ). However, I am unsure how to fit this. Any help would be appreciated.

Note: I will be using MATLAB.

Did you start with the mathworks website? http://www.mathworks.com/help/stats/nonlinear-regression-1.html

Do you already have any code written?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 56 ·
2
Replies
56
Views
6K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
1K
Replies
10
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K