How to mark the peaks of a signal based on some threshold value?
조회 수: 3 (최근 30일)
이전 댓글 표시
Actually I am tring to mark the peaks of an abdominal electrocardiogram signal based on threshold value. If the signal value is greater than some threshold value, then that particular time instant will be denoted as peak. Can anyone me in sorting out this problem?
댓글 수: 0
채택된 답변
Star Strider
2022년 6월 28일
First, remove as much baseline drift and high-frequency noise as possible. That will make everything easier.
I suggest using findpeaks with the 'MinPeakProminence' parameter set to a reasonable value (for example 5 for an electrocardiogram). Alternatively, the islocalmax function with an appropriate value for 'MinProminence'.
Both functions have options to output the prominence values they detect, making it easier to detect the prominence values for the areas of interest and set the prominence threshold.
댓글 수: 5
Star Strider
2022년 6월 30일
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!