How do I use CFTOOL?
Show older comments
I used matlab to get the equation of the curve from the table, I put them as a matrix then plot them after that I use CFTOOL to obtain the equation.
The question here is what is the name on the function that I found so, I could put it is name in m.file to make it easy for use ????
Answers (1)
Oleg Komarov
on 16 May 2011
From the fitting panel save to workspace the model and:
1. Use the following code to get the mathematical expressiona and the coefficients:
formula(fittedmodel)
coeffvalues(fittedmodel1)
2. Or simply save the fitted model directly to a .mat file.
Categories
Find more on Least Squares 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!