Fir2 alternatives matlab

조회 수: 5 (최근 30일)
Kodavati Mahendra
Kodavati Mahendra 2018년 2월 9일
편집: Kodavati Mahendra 2018년 2월 12일
Right now I am using Fir2 function to generate fir filter that has the same gain and phase response as the given frequency response.
Fir2 function uses frequency sampling method to generate the filter coefficients. It samples the desired frequency response on a linear scale and estimates the coefficients using ifft. I am using logarithmic scales (audio processing), and fir2 is not giving me good response.
Is their anyway to convert the fir2 algorithm to sample on a log scale? Or are their any alternative algorithms in MATLAB?
Thanks :-)

채택된 답변

Abhishek Ballaney
Abhishek Ballaney 2018년 2월 9일
https://in.mathworks.com/help/signal/ref/fir1.html
  댓글 수: 1
Kodavati Mahendra
Kodavati Mahendra 2018년 2월 9일
편집: Kodavati Mahendra 2018년 2월 12일
Thanks for commenting :-)
Fir1 uses window method to calculate the filter coefficients. Window method also does not give me good results in lower frequencies.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Filter Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by