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

1 visualización (últimos 30 días)
Susan el 19 de En. de 2023
Comentada: Walter Roberson el 24 de En. de 2023
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?
##### 2 comentariosMostrar NingunoOcultar Ninguno
Walter Roberson el 19 de En. de 2023
Is that 0.12 an absolute value, or is it a relative value? If it is relative, what is it relative to?
Susan el 20 de En. de 2023
@Walter Roberson Thanks for your response.The 0.12 is an absolute of the disturbance peak-to-peak value.

Iniciar sesión para comentar.

Walter Roberson el 19 de En. de 2023
wherebig = find(Yvf > 0.12);
##### 4 comentariosMostrar 2 comentarios más antiguosOcultar 2 comentarios más antiguos
Walter Roberson el 24 de En. de 2023
[~,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 el 24 de En. de 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.

Iniciar sesión para comentar.

### Categorías

Más información sobre Descriptive Statistics en Help Center y File Exchange.

### Community Treasure Hunt

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

Start Hunting!

Translated by