FIR filter
조회 수: 10 (최근 30일)
이전 댓글 표시
Make a matlab function for design a FIR filter of order 32 with the LMS method.
I am now learning to use matlab . first learner,, Can anyone give some suggestions ? Thank you very much!
댓글 수: 0
채택된 답변
Wayne King
2012년 6월 13일
b = firls(30,[0 .1 .2 .5]*2,[1 1 0 0]);
fvtool(b);
Obviously you have to specify more than the order. You have to give your frequencies and the amplitudes you wish at those frequencies. I have just used some values above.
Please read the reference page for firls.
Also, I'm assuming that you mean this filter and not the LMS adaptive FIR filter.
댓글 수: 2
Wayne King
2012년 6월 13일
fir1 uses the window method. That is a different filter design method. The window method is described in any DSP book.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Filter Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!