There is a dataset for the following mathematical model, please use MATLAB to find these parameters a1、a2、b1 and b2
x=0:0.1:2
y=[xdata1 xdata2… xdata21]
y=a1*exp(b1*x)+a2*exp(b2*x)
I think it has something to do with fminsearch, but I don't know where to start
Best Answer