I have an array which is increasing. At one point it starts to decrease. This trend starts repeating many times in array. How to extract only the decreasing portions from that array and plot another array values which corresponds to that decreasing portion?
MATLAB: I have an array which is increasing. At one point it starts to decrease. This trend starts repeating many times in array. How to extract only the decreasing portion from that array
array
Best Answer