MATLAB: How remove plateaus on plot concatenateplateauremove I want create a script that remove the plateau in red on the plot (figure) and concatenate the rest of the data. I have large data set. Thanks Best Answer t=1:numel(y)d=abs(gradient(y,t))y(d<0.4)=[];plot(y) Related SolutionsMATLAB: Repeat data set only in certain indices [repmat(data(1,:),4,1);data(2,:)] MATLAB: Vectorisation of a loop X = X1+[0;cumsum(Vx(1:end-1).*diff(T))]Y = Y1+[0;cumsum(Vy(1:end-1).*diff(T))] Related QuestionHow to plot a sym function with constant function such as x=2(vertical line) & y=3(horizontal line)Plotting function over multiple periods
Best Answer