필터 지우기
필터 지우기

Lowpass filter with L=50?

조회 수: 2 (최근 30일)
Dick Rusell
Dick Rusell 2014년 10월 9일
댓글: Star Strider 2014년 10월 9일
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.

채택된 답변

Star Strider
Star Strider 2014년 10월 9일
I would use the fir1 function. It seems to do what you want.
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
Dick Rusell
Dick Rusell 2014년 10월 9일
I forgot to specify that we had the use the Fourier Series Method by finding h.
Star Strider
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 CenterFile Exchange에서 Frequency Transformations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by