Fitting data with custom equation
Show older comments
Hi,
I have some datas to fit with by the following equation : d*atan(b*(x+a))+c . I've done it by the " curve fitting tool" how I can incorporate this process in a matlab script ? I'd like to obtain the parameter a,b,c,d as an answer.
Thanks.

Accepted Answer
More Answers (1)
Valrhona
on 28 Sep 2020
0 votes
I have a question regarding the curve fitting tool itself.
How can I change the z=f(x,y) to f(x).
I cannot change the x, y, or z data in this curve fitting tool.
I would like to use a custom f(x) function (not f(x,y))
Many thanks!
2 Comments
Koral Villalobos
on 27 Apr 2021
I need help with this too
sandeep
on 3 Aug 2022
is there a way to find the appropriate intial guess?
Categories
Find more on Get Started with Curve Fitting 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!