How can I construct a optimization problem with MATLAB
Show older comments
Hello,
I need to solve a optimization problem with MATLAB but I need some help to do it.
I have three parameters (a,b,c) that affect the shape of a curve y. How do I optimize those three parameters so that the difference between the resulting curve y and a reference curve y_ref is minimized?
I have simulated several curves and I have different curves for different set of parameters (a1, b1, c1) -> y1, (a2, b2, c2) -> y2, (a3, b3, c3) -> y3 etc...
Answers (1)
Torsten
on 17 Aug 2016
0 votes
If you have licenced the optimization toolbox, try "lsqcurvefit".
Best wishes
Torsten.
Categories
Find more on Get Started with Optimization Toolbox 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!