Clear Filters
Clear Filters

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

4 views (last 30 days)
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 Comment
Vahram Voskerchyan
Vahram Voskerchyan on 11 Sep 2021
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?

Sign in to comment.

Accepted Answer

darova
darova on 11 Sep 2021
Make this changes to your code
Transmission = [Tranmission Tansmission(end)];
Length = [Length 5000];

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!