📄 odd_order_cascaded_hp.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -