curve fitting tool equation

7 次查看(过去 30 天)
Saúl
Saúl 2014-9-3
回答: Bowen Song 2019-3-16
im just starting to use the curve fitting tool, so i was wondering where can i see the equation that describes my fit surface? iknow this is probably a simple question but i cant find it anywhere.

回答(2 个)

Aniruddha Katre
Aniruddha Katre 2014-9-3
There should be a panel called "Results" in the cftool window. This panel shows the equation as well as the coefficients (with 95% confidence bounds) and the Goodness of fit once you specify the fit type.
If you want to generate code for a specific fit, you can navigate to the "File" drop down menu of the cftool window and click on Generate Code.
For an example of what the cftool window should look like, see the attached screenshot.
  1 个评论
Saúl
Saúl 2014-9-3
Thanks for your answer. There's no general model output in my reuslts window, there's only coefficients and goodness of fit, i'm not sure why.

请先登录,再进行评论。


Bowen Song
Bowen Song 2019-3-16
For those who are still looking for answers. MATLAB 2018b version. In "File"->"Generate Code". You will see the src code for generating your plane fit. You can extract what you need from there.

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by