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

3 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 16 de En. de 2019
Try:
help polyfit
HTH

Más respuestas (0)

Categorías

Más información sobre Polynomials en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by