how to interpolate between two point of 1d time series data if the difference between any two consecutive point is greater than 25?
Show older comments
Hello every one please help!
I have atime seies data like this;
x = [5 10 36 20 17 5 51 60 40 13] and independent variables as follow
fs = 4;
t=0:1/fs:(L-1)/fs;
I want to use spline interpolation between two consecutive point of 'x' means (xi and xi+1) if the difference between two point is greater than 25. for example from the above time series x3-x2= 36-10= 26 therefore i want to interpolate between x2 and x3 with t interval of 0.05 and return all the new time series data.
anyone please help
Accepted Answer
More Answers (0)
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!