필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Khalid Mahmood
Khalid Mahmood 2013년 12월 30일
편집: Wayne King 2013년 12월 30일
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?

채택된 답변

Wayne King
Wayne King 2013년 12월 30일
편집: Wayne King 2013년 12월 30일
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');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Earthquake Engineering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by