필터 지우기
필터 지우기

filtering by filter function and having a shift

조회 수: 10 (최근 30일)
2NOR_Kh
2NOR_Kh 2022년 6월 11일
댓글: Star Strider 2022년 6월 12일
I have a signal and applied a filter by using filter function in matlab (the built in filter function of matlab). I added padding to my data. now my filtered signal has a shift equal to the padd compared to the initial signal ( I should mention I added padding to the initial signal too). The final output of the filter is equal to the input signal but I dont know where these shift in the signal is arising from. I added a screenshot of the initial and filterd signal. the blue channel is the initial signal and the orange one is the filtered signal.

채택된 답변

Star Strider
Star Strider 2022년 6월 11일
See if using the filtfilt function instead of filter solves the problem.
  댓글 수: 2
2NOR_Kh
2NOR_Kh 2022년 6월 12일
thank you Star, it was a great help.
Star Strider
Star Strider 2022년 6월 12일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by