Detect peaks before drop in signal

조회 수: 3 (최근 30일)
Marc Elmeua
Marc Elmeua 2024년 5월 14일
댓글: Marc Elmeua 2024년 5월 15일
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!

채택된 답변

Star Strider
Star Strider 2024년 5월 14일
Withoiut having the data to work with, one option could be the islocalmax function. Use 'FlatSelection','last' since the tops of those pulses could be considered ‘flat’. You will have to experiment.

추가 답변 (1개)

Zain Ahmed
Zain Ahmed 2024년 5월 14일
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.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by