How do I curve fit a specific non-linear function which passes through 2 fixed points?

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

 Réponse acceptée

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

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by