Azzera filtri
Azzera filtri

Fir2 alternatives matlab

5 visualizzazioni (ultimi 30 giorni)
Kodavati Mahendra
Kodavati Mahendra il 9 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 :-)

Risposta accettata

Abhishek Ballaney
Abhishek Ballaney il 9 Feb 2018
https://in.mathworks.com/help/signal/ref/fir1.html
  1 Commento
Kodavati Mahendra
Kodavati Mahendra il 9 Feb 2018
Modificato: Kodavati Mahendra il 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with DSP System Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by