MATLAB Answers

How to get equation of polynomial from polyfit?

235 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 15 Apr 2018

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!