I want to design a band pass Chebyshev Type II filter using analog prototyping. The order of filter is 20 with a value of 60 dB stop band attenuation and 0.75 dB pass band ripple where, Pass band edge = 800 Hz Stop band edge = 2000 Hz Sampling frequency = 6000
My Matlab code is below
clc; close all; clear all;
Rp = 0.75; Rs = 60;
fp = 800;
fs = 2000;
Fs = 6000;
fn = Fs/2; % nyquist frequency
wp = fp/fn; % normalized Pass band corner frequency
ws = fs/fn; % normalized Stop band corner frequency
[n,Wn] = cheb2ord(wp,ws,Rp,Rs);
[num,den] = cheby2(20,Rs,Wn);
freqz(num,den,512,Fs);
I have also attached snapshot of output which shows that output frequency plot looks like low pass,but i think ,why output plot is not band pass?How can it look band pass?