How to get equation of polynomial from polyfit?
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Deepansh Bhatia
am 15 Apr. 2018
Kommentiert: Deepansh Bhatia
am 16 Apr. 2018
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 15 Apr. 2018
3 Kommentare
Walter Roberson
am 15 Apr. 2018
Yes, it would be a symbolic expression. You could disp() it, or pretty() it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Polynomials finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!