odd_order_cascaded_hp.m
来自「声音过滤器工具大集合.」· M 代码 · 共 23 行
M
23 行
function [b1, a1, b, a] = odd_order_cascaded_HP(fc, fs, N)
%ODD_ORDER_CASCADED_HP - Odd-Order Cascaded IIR Butterworth High-Pass Filter Design Routine.
% Designs an Nth-Order high-pass filter by cascading a single first
% order section with M second order high-pass sections, where N = 2M + 1.
%
% usage: [b1, a1, b, a] = odd_order_cascaded_HP(fc, fs, N)
%
% b1 = Two column vector, numerator coefficients of first-order section
% a1 = Two column vector, denominator coefficients of first-order section
% b = M x three matrix, numerator coefficients of even-order network
% a = M x three matrix, denominator coefficients of even-order network
% fc = Scalar, cutoff frequency (in Hz)
% fs = Scalar, sampling frequency (in Hz)
% N = Scalar, filter order (odd)
% 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 339.
% Book's website: www.dspaudiocookbook.com
% Copyright (c) 2005 Bo餫
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?