Lowpass filter with L=50?
2 次查看(过去 30 天)
显示 更早的评论
I'm not sure how to make a lowpass filter with L=50, cutoff frequency 1100Hz with omegac, and a sampling frequency of 8000Hz using the Fourier Series Method.
0 个评论
采纳的回答
Star Strider
2014-10-9
Here is my approach:
Fs = 8.0E+3;
Fn = Fs/2;
Fc = 1.1E3;
Fcn = Fc/Fn;
L = 50;
b = fir1(L, Fcn);
figure(1)
freqz(b, 1, 128)
Does it do what you want?
2 个评论
Star Strider
2014-10-9
That definitely changes things.
The best resource I can find on that is Low-Pass Filtering by FFT Convolution that also has MATLAB code. All you would need to do is to modify it to your Fs and L. (It’s not an image, so you can copy-paste the code directly from the page.)
I can’t find any MATLAB functions that implement it directly.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Frequency Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!