MATLAB: Normalizing frequency for fir1() matlab function:?

fir filterlow-pass filternormalized frequency

I am trying to implement an FIR low pass filter using fir1() function but I am confused in normalizing the frequencies.Whether I had to divide my frequencies by fs or fs/2 for normalization to be used as Wn. Which one will give me the correct results?

Best Answer

Always normalise by the Nyquist frequency, in your example ‘fs/2’ if ‘fs’ is your sampling frequency.