How can identify the incorrect data array from a graph?

1 visualización (últimos 30 días)
Goncalo Costa
Goncalo Costa el 20 de Jun. de 2023
Respondida: Richard Burnside el 20 de Jun. de 2023
I have a bunch of (30) data arrays (they are all 1 x 2218 arrays) and I have plotted them to show something like this:
In these plots it is clear to see the data arrays that do not follow the pattern (the purple, red and yellow ones that are lower than the other lines).
My initial idea was, after looking at the plot, to find all data arrays that had a value below 50 (for this specific case). But this would miss the yello and red pulse.
I have also thought of simply, dragging the mouse atop of these lines and identify specific xy-coordinates for these specific lines and have these found and eliminated, but this would be quite a slow technique and could be a bit problematic if the lines were too close to each other.
Is there any sort of filter I can apply, or another technique, that cleans all the incorrect data pulses/lines?

Respuestas (1)

Richard Burnside
Richard Burnside el 20 de Jun. de 2023
A very simplistic approach might to take the standard deviation of the all the data at each x value and and look for the outliers.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by