信号处理之带通滤波
function [num, den, z, p] = butter(n, Wn, varargin)
形式:
1.[B,A] = BUTTER(N,Wn)
设计一个n'阶巴特沃斯'低通数字滤波器,并返回n+1维滤波系数向量B(分子)和A(分母),
Wn必须是介于0.1<Wn<1.0的数,1.0对应取样率减半。
如果Wn是两个元素的向量,Wn = [W1 W2],butter()是2阶带通滤波,通率为W1 < W < W2。
[B,A] = BUTTER(N,Wn,'high') 设计一个高通滤波器.
[B,A] = BUTTER(N,Wn,'low') 设计一个低通滤波器.
[B,A] = BUTTER(N,Wn,'stop') 设计一个带通滤波器,如果Wn = [W1 W2].
2.[Z,P,K] = BUTTER(...)
3.[A,B,C,D] = BUTTER(...)
BUTTER(N,Wn,'s'), BUTTER(N,Wn,'high','s') and BUTTER(N,Wn,'stop','s')
% design analog Butterworth filters. In this case, Wn is in [rad/s]
% and it can be greater than 1.0.