Reverse the effects of a Chebyshev type 2 filter on a 1-d sound file.

조회 수: 5(최근 30일)
Hi fellow Matlab users,
Currently I am using a Chebyshev type 2 filter to high-pass filter a sound file sampled at 44.1 kHz. I obtain the filter coefficients using [b,a] = "cheby2(n,Rs,Ws)", with n=1, Rs=3 and Ws = 2*fc/fs. Cut-off frequency fc is 4 kHz in this case. After this I apply the coefficients using the filter function.
After this I want to do some manipulations to the signal, and then undo the effects of the high-pass filter. So I want to amplify each frequency by the same amount it has been attenuated by the Chebyshev filter. Any ideas on how to do this? Using a Chebyshev low-pass filter didn't yield me any results. Deconv won't work because Chebyshev filters don't use convolution.
Thanks in advance,
Lucas

채택된 답변

Abhiram Bhanuprakash
Abhiram Bhanuprakash 2015년 7월 6일
Hi Lucas,
Since you obtain the numerator and denominator coefficients using 'cheby2', I think you can reverse this effect by passing the manipulated signal through the "inverse filter", that is, through the filter which has the numerator and denominator coefficents interchanged.
To do this, you can use the 'filter' function. Doc here
Hope this helps,
Cheers!
Abhiram
  댓글 수: 1
Lucas
Lucas 2015년 7월 6일
Hi Abhiram, Works very well. Thanks for the input! Lucas

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by