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

2 views (last 30 days)
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!
Susan on 20 Jan 2023
@Walter Roberson Thanks for your response.The 0.12 is an absolute of the disturbance peak-to-peak value.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Jan 2023
wherebig = find(Yvf > 0.12);
Walter Roberson
Walter Roberson on 24 Jan 2023
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by