Detect peaks before drop in signal
Show older comments

Hi everyone,
I have this signal where i need to detect only the peak right before the signal drops but I can't figure out a way to do it. Can anyone give me a hand?
Thank you so much!
Accepted Answer
More Answers (1)
Zain Ahmed
on 14 May 2024
0 votes
One way you can do is finding the derivative of the signal.
For example: if the current derivative is 0 and both previous and next points are negative, then you found a peak before making a drop.
1 Comment
Marc Elmeua
on 15 May 2024
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!