Curve Fitting (No noise)

1 visualización (últimos 30 días)
Martín Menéndez
Martín Menéndez el 19 de Abr. de 2017
Respondida: Image Analyst el 19 de Abr. de 2017
I need to find the function that describes a dataset (x, y), the values do not have noise. Which commands do you recommend?
  1 comentario
Andrew Newell
Andrew Newell el 19 de Abr. de 2017
Depends what you mean by "describes"! If you want a curve that goes through all the points, interpolation would be best. If x and y are vectors, you could use interp1.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 19 de Abr. de 2017
See my polyfit() demo, attached. It's one of many possible ways. Whether or not it will be best for your needs is known only by you, not us.

Más respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by