Is there a difference between fir1 and designfilt with bandpassfir?
6 views (last 30 days)
Show older comments
Dear all,
I want use a fir1 bandpass filter and found both methods, the option with fir1 and the one with designfilt combined with bandpassfir. Is there a marked difference between both options? Which one should I use?
I'm grateful for any clarification.
Thanks,
Peter
2 Comments
Answers (1)
Sai Sri Pathuri
on 25 Feb 2020
The fir1 function might be referred as a subset of designfilt function because designfilt has more options than fir1. The designfilt function can be used in the design of FIR and IIR filters with various design methods whereas fir1 is used in the design of FIR filters using least-squares (ls) approximation method.
You may refer following links for documentation:
0 Comments
See Also
Categories
Find more on Digital 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!