I am looking for a way to find the point which exceeds the previous 50 datapoints. My proposal to an equation which does this is: "x = find(f > f(x-50:x), 1, ’first’);" but I get the an error since x is not defined in the workspace.
MATLAB: How to find the point which exceeds the previous 50 data points in a graph
findgraphthreshold
Best Answer