Align Signals Using Cross-Correlation
4 ビュー (過去 30 日間)
古いコメントを表示
Hello, I would like to align arthquake signals from the longest to the shortest component according to the example provided in text file. I have around 95000 earthquake signals with a unified format. Based on oone example, the first row, the second and the third column of the column correspond to the EW, NS and Z components of the earthquake signal according to the script provided in the attachment. Herein, I was trying to aling the signal using "cross correlation" as provided in the following link:
However, I encountered some issues, specially when I want to align the three component of the signals. Apparently, the vertical component presents a missalignment respect the two horizontal components in a sample interval of -7. Following the link it is kind of unclear to mean to align the final components. I would appreciate some help.
3 件のコメント
採用された回答
Jon
2023 年 6 月 12 日
編集済み: Jon
2023 年 6 月 12 日
I think the problem you are having is that you must figure out how to sort the three signals to determine their arrival order so you know how to trim them. There is enough information to do this knowing only the lags 21, 31, and 32, but exactly how to do this and have it work in general seems like it might be a little tricky. Do you need to do this for many data sets so it has to be automated, or is it just a one time thing and you could do this part manually. For the automated approach you could look at generalized sorting algorithms such as https://www.mathworks.com/matlabcentral/fileexchange/6756-generalized-sorting
Or for only 3 elements you could probably come up with an approach on your own.
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!