How to detect a real-time signal's local maxima and minima?

조회 수: 10 (최근 30일)
Gabriyel Wong
Gabriyel Wong 2019년 5월 6일
댓글: Adam Danz 2019년 5월 6일
Most toolkits require all data before detection of maxima and minima happens. What if I have a real-time signal "feed" and I need a detector that measures whether the gradient slightly behind the data point at current time? So this is a gradient checking function to determine if the next point belongs to a local maxima or minima region.
Does anyone know a function or toolkit that is capable of doing this?
  댓글 수: 1
Adam Danz
Adam Danz 2019년 5월 6일
Detecting an instantaneous maxima (or minima) only depends on whether the most recent sample is higher or lower than the other samples within a lagged time window. For example, if the data were to monotonically increase, every sample would be a local maxima. Maybe a visual inspection of the data would be helpful to suggest ideas.

댓글을 달려면 로그인하십시오.

답변 (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