extract equation from cfit contents
5 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
采纳的回答
Shashank Prasanna
2014-7-14
You can use the formula methods to access the formula you fit:
load census
f = fittype('poly2');
formula(f)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!