How to extend the graph from a limited range of data to the axis

4 visualizaciones (últimos 30 días)
Tb
Tb el 11 de Feb. de 2021
Respondida: Shubham Khatri el 21 de Feb. de 2021
Hello,
I have the following graph:
And I would like to make it so that it intersects the y-axis, following the trend of the given datapoints.
Thanks for the help.
  6 comentarios
KSSV
KSSV el 11 de Feb. de 2021
Editada: KSSV el 11 de Feb. de 2021
I already mentioned.... it is an extrapolation..you need to be careful.
Tb
Tb el 11 de Feb. de 2021
Editada: Tb el 11 de Feb. de 2021
Ok, how can extrapolation be used for polyfit as you mentioned initially @KSSV? I would like to compare the results and see which one is more accurate. Thanks

Iniciar sesión para comentar.

Respuestas (1)

Shubham Khatri
Shubham Khatri el 21 de Feb. de 2021
Hello,
To extrapolate a curve, you need to have any 2 of the following:
  • The equation of the curve itself (using which the plot of the curve can be made)
  • The degree of the equation of the curve, If you know the degree of the equation of the curve, you can use polynomial fitting to find the approximate equation of the curve.
Hope it helps

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by