Fitting specific equation to data

1 view (last 30 days)
Gregor Lees
Gregor Lees on 15 Mar 2017
Hi, I have a set of x and y values gathered from an experiment. I am to fit an underlying equation to this data and I am looking for MATLAB to find the coefficients, from this equation, for the line of best fit.
The equation the line of best fit is,
y= a*exp(-x/b) + c*exp(-x/d) + e*exp(-x/f)
Anyone know how to do this?

Answers (0)

Categories

Find more on Interpolation 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!