Can I create the same FIR filter using two different commands?
Show older comments
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 Comment
- 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.
Accepted Answer
More Answers (0)
Categories
Find more on FIR Filter Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
