Normalizing frequency for fir1() matlab function:??

3 Ansichten (letzte 30 Tage)
Kapal
Kapal am 18 Jul. 2016
Kommentiert: Star Strider am 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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by