Best fit curve for non-linear data with 3 unknowns

1 次查看(过去 30 天)
Hello, I am trying to fit a curve on my experimental data. (.mat file attached) I am using only the time and and load data (column 1 and 5 respectively) The equation I need to curve fit is
load=(((8*sqrt(R)*((k)^(3/2))*(sqrt(tR1))*E1)./(2*((E1+E2)^2))).*((E2*(E1+E2).*tR1)-(((E1.*eta*(exp(-(E1+E2).*t./eta)))*((-exp((E1+E2)*tR1/eta))+1)))));
where the known variables are
R=2.5e-3;
k=2.5E-06;
tR=130.37; (first time step)
t= first column of data.mat (time step or instantaneous time)
Unknows are E1, E2 and ETA in the equation.
Starting values:
E1in=2.000000e+04
E2in=4.000000e+04
etain=1.000000e+05
How can I use Fmincon or nlinfit or some more appropriate function to fit the data and get the required E1, E2 and Eta?

采纳的回答

Alan Weiss
Alan Weiss 2017-3-8
Alan Weiss
MATLAB mathematical toolbox documentation

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by