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

1 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by