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

5 views (last 30 days)
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 Comments
KSSV
KSSV on 11 Feb 2021
Edited: KSSV on 11 Feb 2021
I already mentioned.... it is an extrapolation..you need to be careful.
Tb
Tb on 11 Feb 2021
Edited: Tb on 11 Feb 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

Sign in to comment.

Answers (1)

Shubham Khatri
Shubham Khatri on 21 Feb 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

Tags

Community Treasure Hunt

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

Start Hunting!