Borrar filtros
Borrar filtros

How I can find the time between two points on a signal.

1 visualización (últimos 30 días)
Khalid Mahmood
Khalid Mahmood el 30 de Dic. de 2013
Editada: Wayne King el 30 de Dic. de 2013
I need to find the time between the first and last exceedence of absolute 0.05g on earthquake accelerogram. Please guide how I can do that?

Respuesta aceptada

Wayne King
Wayne King el 30 de Dic. de 2013
Editada: Wayne King el 30 de Dic. de 2013
I'm just using a simulated signal, x, substitute you signal for x in the calls to find()
x = 0.05*randn(100,1);
idx1 = find(abs(x)>0.05,1,'first');
idx2 = find(abs(x)>0.05,1,'last');

Más respuestas (0)

Categorías

Más información sobre Earthquake Engineering en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by