Generating the equation for 'sum of sine' fit from cftool to data for future use in optimization procedures
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
This is a very general question, but tutorials and webinars I've seen regarding use of optimization techniques and various curve fitting strategies have piqued my curiosity with regard to a current relationship I am trying to model.
My question is as follows:
If I utilise the cftool option in Matlab to generate, say a'sum of sine' fit for a given relationship, how can I generate a script showing me the developed equation so I can try and use the this equation in the optimtool option to improve the resulting fit?
I was thinking I could generate a script of the generated equation in cftool (including the identified constants) as my objective function and then proceed with the optimization method as normal. The problem is, once I've generated the fit using the cftool, and then created a script file of the curve fit (using File --> Generate Code within the curve fitting tool), I can't figure how to display the output equation in the script. Any ideas or pointers?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!