How to get equation of polynomial from polyfit?
36 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Deepansh Bhatia
il 15 Apr 2018
Commentato: Deepansh Bhatia
il 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 Commenti
Risposta accettata
Walter Roberson
il 15 Apr 2018
3 Commenti
Walter Roberson
il 15 Apr 2018
Yes, it would be a symbolic expression. You could disp() it, or pretty() it.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Polynomials in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!