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

조회 수: 4 (최근 30일)
Tb
Tb 2021년 2월 11일
답변: Shubham Khatri 2021년 2월 21일
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
KSSV
KSSV 2021년 2월 11일
편집: KSSV 2021년 2월 11일
I already mentioned.... it is an extrapolation..you need to be careful.
Tb
Tb 2021년 2월 11일
편집: Tb 2021년 2월 11일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Shubham Khatri
Shubham Khatri 2021년 2월 21일
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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by