How to measure any disturbance in a signal that is exceeding a threshold?

조회 수: 1 (최근 30일)
Hi,
Assuming having a noisy signal as attached, I'm interested in measuring any disturbance that exceeds a threshold, i.e., 0.12. How can I do that?
Thanks in advance!
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 1월 19일
Is that 0.12 an absolute value, or is it a relative value? If it is relative, what is it relative to?
Susan
Susan 2023년 1월 20일
@Walter Roberson Thanks for your response.The 0.12 is an absolute of the disturbance peak-to-peak value.

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

채택된 답변

Walter Roberson
Walter Roberson 2023년 1월 19일
wherebig = find(Yvf > 0.12);
  댓글 수: 4
Walter Roberson
Walter Roberson 2023년 1월 24일
[~,LOCS] = findpeaks(Yvf, 'MinPeakHeight', 0.12);
Note that the find() done earlier would locate all of the entries in Yvf > 0.12, whereas findpeaks() with this option would look for locally high points
Walter Roberson
Walter Roberson 2023년 1월 24일
Which one you would use (or which options for findpeaks()) would depend on whether you need to know the immediate start of the disturbance crossing a threshold, or if you want instead to know where the peak of the disturbance was.

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

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