Finding coefficients from polyfits

Load census.mat
Write a script to fit a polynomial model to the data (order = 2)
What is the coefficient b for the model y=ax^2+bx+c fitted by polyfit?

1 Kommentar

Walter Roberson
Walter Roberson am 8 Mär. 2021
What does the documentation for polyfit() say about what the output is?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 8 Mär. 2021

Kommentiert:

am 8 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by