Finding Peaks and Troughs of a signal using differentiation?

12 visualizzazioni (ultimi 30 giorni)
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.
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 Commenti
madhan ravi
madhan ravi il 8 Lug 2020
Have you looked into islocalmax() and it’s relatives?
Suvvi Kuppur Narayana Swamy
Yes I have .islocalmax and find peaks are working fine in detecting the peaks and troughs.But I want to understand using the differentiation technique .

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by