Design of bandpass filter with Yulewalk
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, i am trying to implement the filter attached in the picture but i cannot get the correct result (as seen in the other picture) as the Yulewalk function does not accept negative magnitudes. Can someone please help me?
댓글 수: 0
채택된 답변
Wayne King
2014년 3월 28일
yulewalk() accepts magnitudes so you cannot use negative values. However, it looks like you have specifications in dB so small positive values (magnitudes) end up as negative values. You just need to convert the dB values to magnitudes.
Use db2mag() to convert your dB values to magnitudes and then use those as input to yulewalk()
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
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!