How do I segment a repetitive pattern?
이전 댓글 표시

Figure 1
Hi, Is there a way where I can segment the cycle in an efficient way? From Figure 1, there are 8 reptitive cycles based on the 8 tall peaks and I would like to segment the 8 cycles and put each cycle in a matrix. I've tried using findpeaks function in Matlab with different values for the parameters eg. MinPeakProminence, MinPeakDistance etc. but there will always be unwanted peaks. The unwanted peaks are usually the peaks pointed downwards.
So in the end, the final product of the cycle segmented would look something similar to the picture below. Thank you.

답변 (1개)
KSSV
2017년 11월 9일
You fix a _y_ value at which cycle get's over.....use _find_ to get the indices. With the help of these indices you should be able to get your cycles.
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

