peaking_filter.m

来自「声音过滤器工具大集合.」· M 代码 · 共 22 行

M
22
字号
function [b, a, mu] = peaking_filter(fc, fs, g, Q)
%PEAKING_FILTER - Second-Order IIR Butterworth Peaking Filter Design Routine
%
%     usage:  [b, a, mu] = peaking_filter(fc, fs, g, Q)
%     
%           b = Three column vector, numerator coefficients
%           a = Three column vector, denominator coefficients
%          fc = Scalar, center frequency (in Hz)
%          fs = Scalar, sampling frequency (in Hz)
%           Q = Scalar, quality factor (default: 1)
%           g = Scalar, boost/cut gain (in dB)
%          mu = Scalar, bandpass output scaling factor
%
%     See also peaking_filter_imp.m for implementation details.

%   References:
%      [1]  John Lane, Jayant Datta, Brent Karley, Jay Norwood, "DSP Filters", 
%           PROMPT Publications(an imprint of Sams Technical Publishing), 
%           Indianapolis, IN, 2001, page 108.
%           Book's website: www.dspaudiocookbook.com

%  Copyright (c) 2005 Bo餫

⌨️ 快捷键说明

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