Nonlinear Regression Curve Fitting

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
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K