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

 채택된 답변

Robert U
Robert U 2018년 6월 7일
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개)

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by