Find coefficient for the best second-order polynomial that fits my data, using least-square fitting

3 visualizzazioni (ultimi 30 giorni)
I want to fit my data x= [1,06e-06 1,33e-05 6,23e-05 0,00017 0,00047 0,00100] with a generic second order polynomial y= a*x^2 + b*x + c, using least-square fitting.
I need the coefficient "a" of the polynomial that allows me to have the best fitting with my data.

Risposta accettata

Bjorn Gustavsson
Bjorn Gustavsson il 16 Gen 2019
Try:
help polyfit
HTH

Più risposte (0)

Categorie

Scopri di più su Polynomials in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by