How to plot the frequency response of a fir filter when I only have the filter co-efficients?
조회 수: 47 (최근 30일)
이전 댓글 표시
Hi,
I'm working on a legacy code and came across the filter coefficients of a FIR filter. I have the impulse response of the filter in an array. I like to plot the frequency response to understand the filter's characteristics. Unfortunately the previous developer did not leave any documentation and I need to find this myself. I'm not familiar with Matlab and can anyone guide me with this?
Thanks
댓글 수: 0
답변 (1개)
Star Strider
2018년 11월 12일
편집: Star Strider
2018년 11월 12일
Since your FIR filter only has the ‘b’ coefficients, plot it as:
figure
freqz(b,1)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filter Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!