bittersweet
Newbie level 5
Hi,
I have a simple question, I'm designing an FIR filter, I want to see the frequency response of that filter, sampling rate is 80 Khz
My question is that when I plot this, I see half the sampling rate as the Nyquist frequency. So when I want to learn my cutoff frequency which one I use Fs=80khz or Fs=160khz ?
I have a simple question, I'm designing an FIR filter, I want to see the frequency response of that filter, sampling rate is 80 Khz
Code:
b=remez(11,[0 0.49 0.83 1],[1 1 0 0]);
Fs=80000;
[H, f] = freqz(b, 1, 512, Fs);
mag = 20*log10(abs(H));
plot(f, mag)
My question is that when I plot this, I see half the sampling rate as the Nyquist frequency. So when I want to learn my cutoff frequency which one I use Fs=80khz or Fs=160khz ?