How do I curve fit a specific non-linear function which passes through 2 fixed points?
8 views (last 30 days)
Show older comments
Anantha Narayanan Suresh Babu
on 6 Jun 2018
I have a set of data points and a curve with 10 parameters. How do i fit in these parameters with the constraint that this curve must always pass through 2 fixed points? Thanks :D
0 Comments
Accepted Answer
Robert U
on 7 Jun 2018
Hello Anantha Narayanan Suresh Babu:
The question has been raised already. You can find the question and answers here:
If your target function is polynomial you might want to try "polyfix" from File Exchange:
If you have a custom function you might look into fmincon and formulate an optimization problem:
Kind regards,
Robert
0 Comments
More Answers (0)
See Also
Categories
Find more on Least Squares 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!