How to create plots for special areas of an array?
Mostrar comentarios más antiguos
Dear people,
I have a plot like this:

I want to plot each of the four waves separately. Of course I could just divide the whole length by 4 but then there would still be the noise from between the big waves. I tried to create a new array where all values smaller than 0.03 are deleted. But then I also delete those values of the big waves as well. Does anybody has an idea how to solve this? Thank you very much:)
5 comentarios
PromoCodeBSJ
el 12 de Sept. de 2018
Are the plots subject to change? If not, I would just figure out the x range of the four graphs and then graph those
Stwiwi
el 12 de Sept. de 2018
PromoCodeBSJ
el 12 de Sept. de 2018
Are you acquiring data from an external source?
Stwiwi
el 17 de Sept. de 2018
Respuesta aceptada
Más respuestas (2)
Image Analyst
el 12 de Sept. de 2018
0 votos
What I would do is to scan the signal with a filter to detect the large variations zones, like with movmax(), imdilate(), stdfilt() or similar. Then I'd threshold to find the "quiet" low signal areas. Then I'd find the centroid of those zones, assuming you want to split the signal in the middle of the quiet zones, with the regionprops() function (in the Image Processing Toolbox). I have done this exact thing for a nearly identical signal someone had a couple of years ago. Attach your data if you want any more help.
Stwiwi
el 13 de Sept. de 2018
Categorías
Más información sobre Parametric Spectral Estimation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

