I have the equations that are shown in the images. I have a set of experimental data for Vp and Ip. Vp is my xdata and Ip is my ydata. I want to use a curve fitter to fit Equation 7 to my Ip vs Vp data while optimizing my n0 and xi values. I am trying to use lsqcurvefit since the paper I am referencing suggests the Levenberg-Marquardt method. My issue is with the V1 term. I am using fsolve to solve for V1 for Equation 8 so I have different V1 values for my Vp values. Lsqcurvefit wants an input of (fun, x0, xdata, ydata). Is there a way for me to let it know it needs to use different V1 values for different Vp values or is there a way to let the curve fit know that there are two dependent functions?
Equation 6
Equation 7 and 8
Andrew is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.