How can I extrapolate following data to a certain value in x direction.

조회 수: 6(최근 30일)
I have the following graph from my data and I want to extrapolate to 5000 in x direction with the given y data. How can I do it? I would like to fit the data exponentialy.
  댓글 수: 1
Vahram Voskerchyan
Vahram Voskerchyan 2021년 9월 11일
I have done linear interpolation for this one using
xq = linspace(0,5000,50);
V = interp1 (x, y, xq, 'linear' , 'extrap' )
%x and y my data and xp the interpolation
I want to do the same but with the exponential how can I do it?

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

채택된 답변

darova
darova 2021년 9월 11일
Make this changes to your code
Transmission = [Tranmission Tansmission(end)];
Length = [Length 5000];

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by