Difference between cftool gui output and and createFit function output
显示 更早的评论
Consider a pair of x and y data that I want to fit a function to.
One can use the cftool (Curve Fitting) app to read out the fit results together with the goodness of fit inside the app window, or one finds a fit using the "command line mehtod", with createFit function, fittype object, fitoptions and fit function.
I ran the 'createFit.m' function generated automatically from the "Generate code" action of the app, and compared the two results and I noticed that the two results differ from one another.
Am I missing somthing? My guess is that the app is evaluating a "draft" fit but doesn't run the whole process from start to end, unlike the "command line" method that finds the fit ultimately. Is that correct?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Smoothing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!