MATLAB: How to detect point before it went on plateau

findpeakslinelocalmaximalocalminimaplot

Hello everyone, I am new to matlab and I am doing a force analysis. I would like to detect a point in matlab before it went on a plateau, for example, this picture below (taken from a journal)
but from my graph, i can only able to detect the peak point, not the plateau, example below
(top picture) i am not sure how to find the minimum point of plateau (green line graph) and the point until it start to go down again, and then plot a line through it, as well as label each point (tp, tr, tf). will somebody help me on this?
attached is my data for 3 forces and time.

Best Answer

It looks as though the ‘LC Green’ signal is what you want. You might have to filter it first to eliminate the noise, but then I would take its derivative and test for the derivative being close to zero. That should approximately define the start and end points of the plateau.
Related Question