cascaded_hp.m

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

M
21
字号
function [b, a] = cascaded_HP(fc, fs, N)
%CASCADED_HP - Cascaded IIR Butterworth High-Pass Filter Design Routine.
%              Designs an Nth-Order high-pass filter by cascading M second
%              order high-pass sections, where N = 2M.
%
%     usage:  [b, a] = cascaded_HP(fc, fs, N)
%     
%           b = M x three matrix, numerator coefficients
%           a = M x three matrix, denominator coefficients
%          fc = Scalar, cutoff frequency (in Hz)
%          fs = Scalar, sampling frequency (in Hz)
%           N = Scalar, filter order (even)
%           M = Scalar, number of second order sections

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

%  Copyright (c) 2005 Bo餫

⌨️ 快捷键说明

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