Clear Filters
Clear Filters

Fir2 alternatives matlab

6 views (last 30 days)
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 :-)

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with DSP System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!