Find the starting and ending points of a sudden change in time series data.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Satish Tadepalli
el 17 de Nov. de 2016
Comentada: Satish Tadepalli
el 17 de Nov. de 2016
Hello all,
I am new to MATLAB and need some help with a time series data. Our machine records average diameter of eye almost 240 times a second for 3 to 5 minutes. When we plot the data, we sometimes get artifacts(say something like a blink or an eye movement.). I need to find the starting and the ending points of the artifacts, so that I can remove the blink with a slope of the points.
Attached are the pictures of data plotted, where the 'y'axis - diameter, 'x'axis= total no of recorded points.
please help me.
Example of data values -
58
58
58
58
58
59
58
58
58
59
58
58
58
58
58
59
58
58
58
59
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
59
58
58
58
59
59
59
59
59
58
57
58
58
58
58
58
58
57
58
58
57
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
58
57
58
57
58
57
58
58
58
58
57
58
59
57
58
57
58
58
0 comentarios
Respuesta aceptada
Image Analyst
el 17 de Nov. de 2016
I'd try filtering it with a Savitzky Golay filter, sgolayfilt(), and then computing residuals = abs(signal - filteredSignal). If any elements have a bigger than expected residual, either replace with the filtered signal or Nan's or something.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Signal Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!