How to do complex bandpass filter in matlab?
이전 댓글 표시
I know the theory behind the topic but i didn't manage to create the filter with matlab. I'am using firpm command to first create the low pass filter.
Could someone give a short example how it's done with some bandpass range?
답변 (1개)
Wayne King
2013년 11월 28일
You have to use cfirpm() not firpm() and then specify your constraints.
For example:
b = cfirpm(30,[-1 -.5 -.4 .7 .8 1],@lowpass);
fvtool(b); % View filter response.
카테고리
도움말 센터 및 File Exchange에서 Digital Filter Design에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!