Is that necessary to set the start points for fitting?
Show older comments
Hi there, I am using Matlab 2012a and applying the cftool in fitting my data with 'exp2'. Since there are lots of data to be fitted, I create the code from the interaction cftool interface so things can be done automatically. However, I found that once the code was generated, the start points for fitting were fixed and some special numbers were used. Though all my data are of the shape of 'exp2' but they are more or less different. So if I used the same start points for fitting, will it return an inaccurate results? I try for some data, most of them are good but some of them are not. To verify that, I apply the generated code to one dataset and get the fitting parameter and then open cftool to fit the same set interactively, they give different fitting coefficients (but the fitting curve seems match up well). It is so confusing, how important is the start points in fitting? What happen if I use an 'empty' start points instead? (I tried too, seems doesn't make big difference).
Any, my question is how to fit different data set in a command-base code correctly without worrying about the start points? Thanks.
1 Comment
Jan
on 30 May 2018
[MOVED from section for answers] YANG PAN wrote:
I have met the same problem as yours, and can you tell me your solution at last?
@YANG PAN: Please do not post comments in the section for answers. It is unlikely that Ki will answer your question 6 years later.
Accepted Answer
More Answers (0)
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!