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에 대해 자세히 알아보기

제품

릴리스

R2015b

태그

질문:

Udi
2020년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by