How to get equation of polynomial from polyfit?
11 ビュー (過去 30 日間)
古いコメントを表示
Deepansh Bhatia
2018 年 4 月 15 日
コメント済み: Deepansh Bhatia
2018 年 4 月 16 日
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!