MATLAB: How to evaluate the performance of the bandpass filter

bandpassbandpass filterfrequencyMATLABperformance

using code 'bandpass'????

Best Answer

Use the freqz function with the second output:
[f,d] = bandpass(y, fpass, fs);
freqz(d)
That will produce the Bode plot of the filter, using the Filter Visualisation Tool.