How to get equation of polynomial from polyfit?
37 次查看(过去 30 天)
显示 更早的评论
As the title says, I need to display the equation of a fitted line (not necessarily on the axes). I have the coefficients of the polynomial thanks to polyfit; is there a sophisticated way to construct an equation from those coefficients? Thanks.
0 个评论
采纳的回答
Walter Roberson
2018-4-15
3 个评论
Walter Roberson
2018-4-15
Yes, it would be a symbolic expression. You could disp() it, or pretty() it.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!