I would like to automate the process of choosing the data series that are withing a range close to the overall data line (black line in figure). Is there a way to do this in MATLAB? Below is the picture of my 21 data series and I am only interested in the series that are close to it. The process I have to do to pick them out is trial-and-error, but I would like to develop a code that could find the series that are within 2 orders of magnitude at any given point of the overall. Any suggestions?