how to extract spikes from a figure
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello, eveyone.
I am processing some borehole data, but I have a problem now. After I plot the data, the figure has many spikes. I want extract those spikes.
Each spike is different,i.e.,different width and length. I was thinking using a moving average filter, but it does not work well. Or maybe I could define a cutoff value,like three times of the std of the total data. However, those spikes or outliers affect statistics, so its not accurate.
I am wondering is there any way I could do it automatically instead of manually pick up the start and end point of each spike.
If anyone has any advice, please let me know. Many thanks.
댓글 수: 0
채택된 답변
Walter Roberson
2012년 6월 29일
Effectively you want a peak-finding program?
http://www.mathworks.com/help/toolbox/signal/ref/findpeaks.html (requires Signal Processing Toolbox)
A sample plot might help us. http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
추가 답변 (1개)
Image Analyst
2012년 6월 29일
If the built in peak detector doesn't work, then you might look elsewhere, such as to this paper:
Comparison of public peak detection algorithms for MALDI mass spectrometry data analysis
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!