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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159626/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159629/image.png)
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 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!