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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Bjorn Gustavsson
Bjorn Gustavsson am 16 Jan. 2019
Try:
help polyfit
HTH

Weitere Antworten (0)

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by