Normalizing frequency for fir1() matlab function:??

10 vues (au cours des 30 derniers jours)
Kapal
Kapal le 18 Juil 2016
Commenté : Star Strider le 22 Sep 2022
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?

Réponse acceptée

Star Strider
Star Strider le 18 Juil 2016
Always normalise by the Nyquist frequency, in your example ‘fs/2’ if ‘fs’ is your sampling frequency.
  4 commentaires
Merve ozdas
Merve ozdas le 21 Sep 2022
why should I use normalization for the cut off frequency?
Star Strider
Star Strider le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by