MATLAB Answers

designing BPFs using butter function

3 views (last 30 days)
Mohamed Medhat
Mohamed Medhat on 19 Jun 2020
Edited: Devineni Aslesha on 24 Jun 2020
How do I design the following BPFs using butter function

  0 Comments

Sign in to comment.

Answers (1)

Devineni Aslesha
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

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!