[b,a] = cheby2 (10,Rs, [wp ws],'bandpass');
Use the above mentioned command, it will provide a band pass responce. Square brakets must have two cut off frequencies.
clc; clear all; close all;
fp = 800; %pass band edge
fs = 2000; %stop band edge
Rp = 0.75; % pass band ripple
Rs = 60; % stop band attenuation
fsampling = 6000; % sampling frequency
wp=2*fp/fsampling ; % convert to radians per second
ws=2*fs/fsampling ; % convert to radians per second
n = 10 ; % order always 2n for band pass
[b,a] = cheby2 (10,Rs, [wp ws],'bandpass');%designs a lowpass, highpass, bandpass,
% or bandstop Chebyshev Type II filter, depending on the value of ftype
% and the number of elements of Ws. The resulting bandpass and bandstop designs
% are of order 2n.
freqz(b,a) %frequency response of digital filter