Remove a part of data and replace it with data to fit trend
13 views (last 30 days)
Hiro on 10 Jan 2022
Try this. It removes the dent you see in the plot. Please note this also affect the both edges of the profile.
[cleanedData,outlierIndices,thresholdLow,thresholdHigh] = filloutliers(slip1,...
It would also be a good idea to detrend first and then find the outliers by using isoutlier.