⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 u_chb2ap.m

📁 the file contain many matlab signal source code and many example .
💻 M
字号:
function [b,a]=u_chb2ap(N,As,OmegaC);
% Unnormalized Chebyshev-2 Analog Lowpass Filter Prototype
% --------------------------
% [b,a]=u_chb2ap(N,As,OmegaC);
% b=numerator polynomial coefficients
% a=denominator polynomial coefficients
% N=Order of the Chebyshev-2  Filter 
% As=Stopband Ripple in dB;As>0
% OmegaC=Cutoff frequency in radians/sec
%
[z,p,k]=cheb2ap(N,As);
a=real(poly(p));
aNn=a(N+1);
p=p*OmegaC;
a=real(poly(p));
aNu=a(N+1);
b=real(poly(b));
M=length(b);
bNn=b(M);
z=z*OmegaC;
b=real(poly(z));
bNu=b(M);
k=k*(aNu*bNn)/(aNn*bNu);
b0=k;
b=k*b;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -