Can I create the same FIR filter using two different commands?
显示 更早的评论
If I use the same values to create a bandpass FIR filter but two different commands (fir1 through the window method and firpm) do I get the same filter? If not, is there a way to get the same filter using those two commands?
1 个评论
- f is a vector of pairs of frequency points, specified in the range between 0 and 1, where 1 corresponds to the Nyquist frequency. The frequencies must be in increasing order. Duplicate frequency points are allowed and, in fact, can be used to design a filter exactly the same as those returned by the fir1 and fir2 functions with a rectangular (rectwin) window.
which explicitly says that what you want to do is feasible, though offhand I'm not sure how that would work with fir1. However, that statement does not appear in the 2023B doc. Not sure what to make of that.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Frequency Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

