Trying to solve the parameters for an equation
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!