Fir2 alternatives matlab

5 Ansichten (letzte 30 Tage)
Kodavati Mahendra
Kodavati Mahendra am 9 Feb. 2018
Bearbeitet: Kodavati Mahendra am 12 Feb. 2018
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 :-)

Akzeptierte Antwort

Abhishek Ballaney
Abhishek Ballaney am 9 Feb. 2018
https://in.mathworks.com/help/signal/ref/fir1.html
  1 Kommentar
Kodavati Mahendra
Kodavati Mahendra am 9 Feb. 2018
Bearbeitet: Kodavati Mahendra am 12 Feb. 2018
Thanks for commenting :-)
Fir1 uses window method to calculate the filter coefficients. Window method also does not give me good results in lower frequencies.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by