How can I get the model from cftool?

I am a noob at matlab, I have no idea how to use it. Just downloaded it and used a YouTube tutorial to plot my graph. I don't understand how to get the function to work.
This is a screenshot from the curve fitting tool.
How do i get the model from of the fit.

Answers (1)

Rik
Rik on 27 Jan 2018
You can go to 'File' and then select the option 'Generate code'. It will generate an .m file that contains all relevant functions. If you have any trouble understanding that output, just comment here.

1 Comment

Did this answer solve your question? If so, please mark it as accepted answer, if not, please comment on what your remaining issues are.

Sign in to comment.

Categories

Asked:

on 27 Jan 2018

Commented:

Rik
on 31 Jan 2018

Community Treasure Hunt

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

Start Hunting!