How can I get the model from cftool?
Show older comments
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
on 27 Jan 2018
0 votes
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
Rik
on 31 Jan 2018
Did this answer solve your question? If so, please mark it as accepted answer, if not, please comment on what your remaining issues are.
Categories
Find more on Interpolation 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!