How do I fit an arbitrary function to data using LSQNONLIN in Optimization Toolbox?
Show older comments
I would like to fit the following arbitrary function to data I have using LSQNONLIN.
f = A + B*exp(C*x) + D*exp(E*x)
X and Y are data sets where Y is the expected output given X.
Accepted Answer
More Answers (0)
Categories
Find more on Nonlinear Least Squares (Curve Fitting) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!