FIR滤波器理解matlab

FIR filter understanding matlab

我想了解 fir1 过滤器,但我还是不明白。例如,这里我得到一个我认为是噪声的音频信号,我将其通过低通滤波器。

n = 100000
fs = 11025
handles.noise = wavrecord(n, fs, 'double');
nfilt = fir1(11,0.4); 
fnoise = filter(nfilt,1,handles.noise); 

为什么我首先需要将噪声信号传递给低通滤波器?为什么系数的个数是 11?还有 0.4 不应该是一个值的范围吗?

我知道这些问题很多,但是当我理解它们时,我会感谢大家的帮助。

第一个问题:

Why did i need to pass the noise signal to a low pass filter in the first place?

假设信号中的噪声是高频噪声(高于有用信号本身),这就是低通滤波器的作用。

来自维基百科:

A low-pass filter is a filter that passes signals with a frequency lower than a certain cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency.

如果您在此处查看 fir1 函数的文档,您的其他两个问题应该得到解答:

http://www.mathworks.com/help/signal/ref/fir1.html#inputarg_Wn