Normalizing frequency for fir1() matlab function:??

3 views (last 30 days)
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?

Accepted Answer

Star Strider
Star Strider on 18 Jul 2016
Always normalise by the Nyquist frequency, in your example ‘fs/2’ if ‘fs’ is your sampling frequency.
  4 Comments
Merve ozdas
Merve ozdas on 21 Sep 2022
why should I use normalization for the cut off frequency?
Star Strider
Star Strider on 22 Sep 2022
@Merve ozdas — Simply because that is the way digital filters are specified and designed. The normalised frequency extends on the interval from 0 (D-C) to π radians/unit (units can be seconds, millimetres, parsecs, or whatever) defining the interval from D-C to the Nyquist frequency. The Nyquist frequency is the highest uniquely identifiable frequency in a sampled signal, and is one-half of the sampling frequency.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!