新建
上传
首页
助手
最?/div>
资料?/div>
工具

DSP

题库详解

 

 

 

1

已知

3

阶椭?/p>

IIR

数字低通滤波器的性能指标为:

通带截止频率

0.4

π

?/p>

通带波纹?/p>

0.6dB

?/p>

最小阻带衰减为

32dB

。设计一?/p>

6

阶全通滤波器对其通带的群延时进行均衡。绘制低通滤

波器和级联滤波器的群延时?/p>

 

%Progranm 1 

% Group-delay equalization of an IIR filter. 

% 

[n,d] = ellip(3,0.6,32,0.4); 

[GdH,w] = grpdelay(n,d,512); 

plot(w/pi,GdH); grid 

xlabel('\omega/\pi'); ylabel('Group delay, samples'); 

title('Original Filter'); 

 

F = 0:0.001:0.4; 

g = grpdelay(n,d,F,2); 

 

 

% Equalize the passband 

Gd = max(g)-g; 

% Design the allpass delay equalizer 

[num,den,tau] = iirgrpdelay(6, F, [0 0.4], Gd); 

 

%

设计六阶的全通滤波器

 

[b,a]=iirgrpdelay(6,F,[0 0.4],Gd);  

 

 

He1=dfilt.df2(b,a);

 

He=dfilt.df2(n,d);

 

He_all=dfilt.cascade(He,He1);

 

grpdelay(He_all) 

 

 

 

 

%DFILT:Digital Filter Implementation. 

[GdA,w] = grpdelay(num,den,512); 

figure(2); 

plot(w/pi,GdH+GdA); grid 

xlabel('\omega/\pi');ylabel('Group delay, samples'); 

title('Group Delay Equalized Filter'); 

 

2

设计巴特沃兹模拟低通滤波器,其滤波器的阶数?/p>

3-dB

截止频率由键盘输入,程序能根

据输入的参数,绘制滤波器的增益响应?/p>

 

% Program 2 

% Program to Design Butterworth Analog Lowpass Filter 

% 

% Type in the filter order and passband edge frequency

设计边缘频率

 

N = input('Type in filter order = '); 

Wn = input('3-dB cutoff angular frequency = '); 

% Determine the transfer function 

[num,den] = butter(N,Wn,'s'); 

 

 

 

 

 

%

计算滤波器的分子和分?/p>

 

% 

 

Compute and plot the frequency response 

Ͼλ
新建
上传
首页
助手
最?/div>
资料?/div>
工具

DSP

题库详解

 

 

 

1

已知

3

阶椭?/p>

IIR

数字低通滤波器的性能指标为:

通带截止频率

0.4

π

?/p>

通带波纹?/p>

0.6dB

?/p>

最小阻带衰减为

32dB

。设计一?/p>

6

阶全通滤波器对其通带的群延时进行均衡。绘制低通滤

波器和级联滤波器的群延时?/p>

 

%Progranm 1 

% Group-delay equalization of an IIR filter. 

% 

[n,d] = ellip(3,0.6,32,0.4); 

[GdH,w] = grpdelay(n,d,512); 

plot(w/pi,GdH); grid 

xlabel('\omega/\pi'); ylabel('Group delay, samples'); 

title('Original Filter'); 

 

F = 0:0.001:0.4; 

g = grpdelay(n,d,F,2); 

 

 

% Equalize the passband 

Gd = max(g)-g; 

% Design the allpass delay equalizer 

[num,den,tau] = iirgrpdelay(6, F, [0 0.4], Gd); 

 

%

设计六阶的全通滤波器

 

[b,a]=iirgrpdelay(6,F,[0 0.4],Gd);  

 

 

He1=dfilt.df2(b,a);

 

He=dfilt.df2(n,d);

 

He_all=dfilt.cascade(He,He1);

 

grpdelay(He_all) 

 

 

 

 

%DFILT:Digital Filter Implementation. 

[GdA,w] = grpdelay(num,den,512); 

figure(2); 

plot(w/pi,GdH+GdA); grid 

xlabel('\omega/\pi');ylabel('Group delay, samples'); 

title('Group Delay Equalized Filter'); 

 

2

设计巴特沃兹模拟低通滤波器,其滤波器的阶数?/p>

3-dB

截止频率由键盘输入,程序能根

据输入的参数,绘制滤波器的增益响应?/p>

 

% Program 2 

% Program to Design Butterworth Analog Lowpass Filter 

% 

% Type in the filter order and passband edge frequency

设计边缘频率

 

N = input('Type in filter order = '); 

Wn = input('3-dB cutoff angular frequency = '); 

% Determine the transfer function 

[num,den] = butter(N,Wn,'s'); 

 

 

 

 

 

%

计算滤波器的分子和分?/p>

 

% 

 

Compute and plot the frequency response 

">
新建
上传
首页
助手
最?/div>
资料?/div>
工具

DSP

题库详解

 

 

 

1

已知

3

阶椭?/p>

IIR

数字低通滤波器的性能指标为:

通带截止频率

0.4

π

?/p>

通带波纹?/p>

0.6dB

?/p>

最小阻带衰减为

32dB

。设计一?/p>

6

阶全通滤波器对其通带的群延时进行均衡。绘制低通滤

波器和级联滤波器的群延时?/p>

 

%Progranm 1 

% Group-delay equalization of an IIR filter. 

% 

[n,d] = ellip(3,0.6,32,0.4); 

[GdH,w] = grpdelay(n,d,512); 

plot(w/pi,GdH); grid 

xlabel('\omega/\pi'); ylabel('Group delay, samples'); 

title('Original Filter'); 

 

F = 0:0.001:0.4; 

g = grpdelay(n,d,F,2); 

 

 

% Equalize the passband 

Gd = max(g)-g; 

% Design the allpass delay equalizer 

[num,den,tau] = iirgrpdelay(6, F, [0 0.4], Gd); 

 

%

设计六阶的全通滤波器

 

[b,a]=iirgrpdelay(6,F,[0 0.4],Gd);  

 

 

He1=dfilt.df2(b,a);

 

He=dfilt.df2(n,d);

 

He_all=dfilt.cascade(He,He1);

 

grpdelay(He_all) 

 

 

 

 

%DFILT:Digital Filter Implementation. 

[GdA,w] = grpdelay(num,den,512); 

figure(2); 

plot(w/pi,GdH+GdA); grid 

xlabel('\omega/\pi');ylabel('Group delay, samples'); 

title('Group Delay Equalized Filter'); 

 

2

设计巴特沃兹模拟低通滤波器,其滤波器的阶数?/p>

3-dB

截止频率由键盘输入,程序能根

据输入的参数,绘制滤波器的增益响应?/p>

 

% Program 2 

% Program to Design Butterworth Analog Lowpass Filter 

% 

% Type in the filter order and passband edge frequency

设计边缘频率

 

N = input('Type in filter order = '); 

Wn = input('3-dB cutoff angular frequency = '); 

% Determine the transfer function 

[num,den] = butter(N,Wn,'s'); 

 

 

 

 

 

%

计算滤波器的分子和分?/p>

 

% 

 

Compute and plot the frequency response 

Ͼλ">
Ͼλ
Ŀ

dsp各种程序 - 百度文库
新建
上传
首页
助手
最?/div>
资料?/div>
工具

DSP

题库详解

 

 

 

1

已知

3

阶椭?/p>

IIR

数字低通滤波器的性能指标为:

通带截止频率

0.4

π

?/p>

通带波纹?/p>

0.6dB

?/p>

最小阻带衰减为

32dB

。设计一?/p>

6

阶全通滤波器对其通带的群延时进行均衡。绘制低通滤

波器和级联滤波器的群延时?/p>

 

%Progranm 1 

% Group-delay equalization of an IIR filter. 

% 

[n,d] = ellip(3,0.6,32,0.4); 

[GdH,w] = grpdelay(n,d,512); 

plot(w/pi,GdH); grid 

xlabel('\omega/\pi'); ylabel('Group delay, samples'); 

title('Original Filter'); 

 

F = 0:0.001:0.4; 

g = grpdelay(n,d,F,2); 

 

 

% Equalize the passband 

Gd = max(g)-g; 

% Design the allpass delay equalizer 

[num,den,tau] = iirgrpdelay(6, F, [0 0.4], Gd); 

 

%

设计六阶的全通滤波器

 

[b,a]=iirgrpdelay(6,F,[0 0.4],Gd);  

 

 

He1=dfilt.df2(b,a);

 

He=dfilt.df2(n,d);

 

He_all=dfilt.cascade(He,He1);

 

grpdelay(He_all) 

 

 

 

 

%DFILT:Digital Filter Implementation. 

[GdA,w] = grpdelay(num,den,512); 

figure(2); 

plot(w/pi,GdH+GdA); grid 

xlabel('\omega/\pi');ylabel('Group delay, samples'); 

title('Group Delay Equalized Filter'); 

 

2

设计巴特沃兹模拟低通滤波器,其滤波器的阶数?/p>

3-dB

截止频率由键盘输入,程序能根

据输入的参数,绘制滤波器的增益响应?/p>

 

% Program 2 

% Program to Design Butterworth Analog Lowpass Filter 

% 

% Type in the filter order and passband edge frequency

设计边缘频率

 

N = input('Type in filter order = '); 

Wn = input('3-dB cutoff angular frequency = '); 

% Determine the transfer function 

[num,den] = butter(N,Wn,'s'); 

 

 

 

 

 

%

计算滤波器的分子和分?/p>

 

% 

 

Compute and plot the frequency response 



ļ׺.doc޸Ϊ.docĶ

  • ѧϰ 廪ѧ ΰ
  • ӼϷ񷽰
  • 2019LEDоƬ״оչǰ Ŀ¼
  • ˽̰꼶ѧ²һԪ̰
  • ףǺͺشʵĸ
  • 2019LNGҺȻҵ״չƷ Ŀ¼
  • pymolʹý̳ - ͼ
  • ʦСѧϰĵ
  • ս̰꼶ѧϲ 嵥Ԫ
  • sl631~637-¹淶ˮˮ繤ʩ

վ

԰ Ͼλ
ϵͷ779662525#qq.com(#滻Ϊ@)