How I can find the time between two points on a signal.
1 回表示 (過去 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?
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Earthquake Engineering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!