extract equation from cfit contents
25 views (last 30 days)
Show older comments
Rob L on 14 Jul 2014
Answered: Shashank Prasanna on 14 Jul 2014
I have a fit object cfit for which I can access the coeffeicients by using coeffvalues.
I can also 'see' the model used but I wish to reconstruct the equation using coeffvalues and some method of extracting the equation used for fit - can this be extracted with some function equivalent to coeffvalues ?
Shashank Prasanna on 14 Jul 2014
You can use the formula methods to access the formula you fit:
f = fittype('poly2');
More Answers (0)
Find more on Linear and Nonlinear Regression 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!