Finding Peaks and Troughs of a signal using differentiation?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi,
Firstly, I do know how to find the peak and troughs using findpeak blackbox. And now am trying to write my own algorithm to understand the Mathematics behind finding peaks and troughs in a signal . Obviously ,I used differentiation to find the local minima and maxima . The signal is a PPG signal .However, this method also detects unwanted peaks and troughs at the position of notch and I'm facing trouble in eliminating it .
The code and the figure are here below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/329150/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/329153/image.png)
Any suggestions or inputs on this that can help me in getting rid of this unwanted peaks and troughs would be highly appreciated .
Thankyou
댓글 수: 2
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!