Hi can anyone help me choose the best function in matlab to implement fir low pass filter given the following specs.
1. sampling frequency, Fs= ( 1.08332e6)
2. number of samples, N = 21.
3. Passband ripple, Apass= 0.01dB.
4. Stopband ripple, Astop= 40dB.
5. Passband edge freq, Fpass = 80kHz.
If you want a Graphical User Interface, use fdatool (Filter Design & Analysis Tool).
If you need a function, use firpm (or remez in old matlab versions).
Regards