Normalizing frequency for fir1() matlab function:??

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by