How to get equation of polynomial from polyfit?
36 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Deepansh Bhatia
le 15 Avr 2018
Commenté : Deepansh Bhatia
le 16 Avr 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 commentaires
Réponse acceptée
Walter Roberson
le 15 Avr 2018
3 commentaires
Walter Roberson
le 15 Avr 2018
Yes, it would be a symbolic expression. You could disp() it, or pretty() it.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!