designing BPFs using butter function
3 views (last 30 days)
Show older comments
Mohamed Medhat
on 19 Jun 2020
Edited: Devineni Aslesha
on 24 Jun 2020
How do I design the following BPFs using butter function
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/318823/image.png)
0 Comments
Accepted Answer
Devineni Aslesha
on 24 Jun 2020
Edited: Devineni Aslesha
on 24 Jun 2020
As the frequency response of the Butterworth filter is maximally flat (no ripples), you do not have an option to specify the passband ripple and stopband attenuation values in butter function. In designfilt, you can specify the passband ripple and stopband attenuation values, however, they are not accepted for butterworth filter. You can use designfilt to design a butterworth bandpass filter as shown below.
d = designfilt('bandpassiir', 'FilterOrder', 20, 'HalfPowerFrequency1', 0.4, 'HalfPowerFrequency2', 0.6, 'DesignMethod', 'butter');
fvtool(d)
For more information, refer the following link
0 Comments
More Answers (0)
See Also
Categories
Find more on 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!