好顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
|
|
|
|
|
wp = 0.4
3
pi ; ws = 0.5
3
pi ;
wd =ws - wp ;
M = ceil(6.6
3
pi Π wd) + 1 ;
N =M - 1 ;
wn = (wp +ws) Π 2 ; % 理想截止频率
h =fir1(N , wn Π pi) ;
freqz(h , 1 , 512) ;wp = 0.4
3
pi ; ws = 0.5
3
pi ;
wd =ws - wp ;
M = ceil(6.6
3
pi Π wd) + 1 ;
N =M - 1 ;
wn = (wp +ws) Π 2 ; % 理想截止频率
h =fir1(N , wn Π pi) ;
freqz(h , 1 , 512) ;wp = 0.4
3
pi ; ws = 0.5
3
pi ;
wd =ws - wp ;
M = ceil(6.6
3
pi Π wd) + 1 ;
N =M - 1 ;
wn = (wp +ws) Π 2 ; % 理想截止频率
h =fir1(N , wn Π pi) ;
freqz(h , 1 , 512) ;wp = 0.4
3
pi ; ws = 0.5
3
pi ;
wd =ws - wp ;
M = ceil(6.6
3
pi Π wd) + 1 ;
N =M - 1 ;
wn = (wp +ws) Π 2 ; % 理想截止频率
h =fir1(N , wn Π pi) ;
freqz(h , 1 , 512) ;
|
|
|
|
|