how many samples a filtered signal will be shifted from the original one.

1 回表示 (過去 30 日間)
tafteh
tafteh 2013 年 4 月 15 日
Hi all.
I have a raw signal recorded with 60Hz sampling rate. All the magnitudes values is associated with a time value in seconds. i.e. signal = [amp, time; amp2, time;]
I smppth the signal by appling convolution with a 60-point Bartlett window. What I would like to do is to find how many sample the filtered signal is shifted comare to the raw signal data. I mean I would like to plot the both signal and asscocite the same timing vecrtor to the filtered signal.
how many samples from the begining or the end of the signal I should ignore? or add to synchronized the resulting filtered signal withe the original one
Thanks
  1 件のコメント
DuckDuck
DuckDuck 2013 年 5 月 27 日
did you found out how many samples, i'm also stuck in this situation

サインインしてコメントする。

採用された回答

Honglei Chen
Honglei Chen 2013 年 5 月 28 日
For a linear phase filter, the shift is determined by the group delay of the filter.

その他の回答 (1 件)

Matt J
Matt J 2013 年 5 月 27 日
編集済み: Matt J 2013 年 5 月 27 日
If you use conv(A,B,'same'), the extra signal values will be removed for you automatically.

カテゴリ

Help Center および File ExchangeBartlett についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by