Phase shift after filtering

5 ビュー (過去 30 日間)
Christian Weich
Christian Weich 2017 年 4 月 28 日
回答済み: Star Strider 2017 年 4 月 28 日
Hallo Community! I collected acceleration data with 300Hz and filtered them using a cutoff of 4.5Hz. As a result I get my filtered data but slighly shifted (see attached file).
Does anyone have an idea how to deal with this problem?
Thank you and have a nice weekend
Christian

回答 (1 件)

Star Strider
Star Strider 2017 年 4 月 28 日
Use the Signal Processing Toolbox filtfilt function rather than the filter function. The filtfilt function has a maximally-flat phase response for all filters, regardless of design, so there is no phase distortion. (The hardware or continuous-time maximally-flat phase Bessel filter cannot be realised as a discrete filter.)

Community Treasure Hunt

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

Start Hunting!

Translated by