Is findpeaks same as local maxima?

조회 수: 7 (최근 30일)
SSG_newbiecoder
SSG_newbiecoder 2018년 2월 6일
답변: Birdman 2018년 2월 6일
Hello, I applied findpeaks to my signal and found out the local maximas. I read that it takes the local maxima by checking if the point is greater than the neighbours. But there is one more condition right? That the derivative must be a zero at that point? Is this also satisfied?

채택된 답변

Birdman
Birdman 2018년 2월 6일
Let's have a look at the simple example from documentation of findpeaks:
data=[25 8 15 5 6 10 10 3 1 20 7];
findpeaks(data)
When you see the marked points on the plot, none of them are differentiable since there are more than one tangent line that can be drawn at those points. Therefore:
That the derivative must be a zero at that point? Is this also satisfied?
No, it is not, as you can see.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by