how can I solve this question? I need help

Respuestas (1)

Stephan
Stephan el 13 de Abr. de 2019

1 voto

Have a read here:
Best regards
Stephan

5 comentarios

ahmet emin arslan
ahmet emin arslan el 13 de Abr. de 2019
I saw this answer but I couldnot solve it
ahmet emin arslan
ahmet emin arslan el 13 de Abr. de 2019
Page*
Walter Roberson
Walter Roberson el 13 de Abr. de 2019
Editada: Walter Roberson el 13 de Abr. de 2019
polyfit uses Vandermonde matrix to do the calculation, not least squares.
You require an 8th order polynomial and you have 9 input points. There are exact solutions for the fit (to within round-off) using techniques such as lagrange interpolating polynomial. Least squares is not one of those exact solution techniques, not unless you are using it in a degenerate sense.
I have to wonder, then, whether the question is expecting you to use curve fitting, or expecting you to construct a sum-of-squares residue function and minimize that function ?
ahmet emin arslan
ahmet emin arslan el 13 de Abr. de 2019
I should ask to teacher but I think it's expecting to use curve fitting
Walter Roberson
Walter Roberson el 14 de Abr. de 2019
fittype('poly8')

Iniciar sesión para comentar.

Categorías

Más información sobre Polynomials en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 13 de Abr. de 2019

Comentada:

el 14 de Abr. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by