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

📄 cdsgn.m

📁 关于倍频程和三分之一倍频程滤波器设计程序
💻 M
字号:
function [B,A] = cdsgn(Fs); % CDSGN  Design of a A-weighting filter.%    [B,A] = CDSGN(Fs) designs a digital A-weighting filter for %    sampling frequency Fs. Usage: Y = FILTER(B,A,X). %    Warning: Fs should normally be higher than 20 kHz. For example, %    Fs = 48000 yields a class 1-compliant filter.%%    Requires the Signal Processing Toolbox. %%    See also CSPEC, ADSGN, ASPEC. % Author: Christophe Couvreur, Faculte Polytechnique de Mons (Belgium)%         couvreur@thor.fpms.ac.be% Last modification: Aug. 20, 1997, 10:10am.% References: %    [1] IEC/CD 1672: Electroacoustics-Sound Level Meters, Nov. 1996. % Definition of analog C-weighting filter according to IEC/CD 1672.f1 = 20.598997; f4 = 12194.217;C1000 = 0.0619;pi = 3.14159265358979;NUMs = [ (2*pi*f4)^2*(10^(C1000/20)) 0 0 ];DENs = conv([1 +4*pi*f4 (2*pi*f4)^2],[1 +4*pi*f1 (2*pi*f1)^2]); % Use the bilinear transformation to get the digital filter. [B,A] = bilinear(NUMs,DENs,Fs); 

⌨️ 快捷键说明

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