determine the coefficients of a polynomial
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to determine the constant coefficients (A, B, C, D, E) of a polynomial of the form:
y = Ax^0.5 + Bx + Cx^2 + Dx^3 + Ex^4
I already have a vector for x and y.
0 commentaires
Réponses (1)
John D'Errico
le 20 Avr 2017
Modifié(e) : John D'Errico
le 20 Avr 2017
This is not in fact a true polynomial, although some like to extend that family of functions to allow non-integer exponents.
Or you can use any of a variety of tools in MATLAB, like regress, lsqr, even backslash.
3 commentaires
John D'Errico
le 20 Avr 2017
I told you that your problem is NOT a polynomial. polyfit CANNOT solve the problem. This is not a possibility, but a simple fact.
I also DID tell you that my own polyfitn DOES solve that problem.
Image Analyst
le 20 Avr 2017
Venkatesan, where did you come up with that model anyway? Is there any physical theory/justification for using a model that's the sum of x^0.5 and a regular polynomial? What physical process are you modeling?
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!