MATLAB 函数之 fir1,freqz

本文介绍了MATLAB中用于设计FIR滤波器的fir1函数,包括其参数含义和不同配置下的滤波器类型。同时,解释了freqz函数用于计算滤波器频率响应的原理和使用方法,帮助理解离散系统频响特性。
摘要由CSDN通过智能技术生成

fir1

Window-based finite impulse response filter design

基于窗口的有限脉冲响应滤波器设计

b = fir1(n,Wn)
b = fir1(n,Wn,'ftype')
b = fir1(n,Wn,window)
b = fir1(n,Wn,'ftype',window)
b = fir1(...,'normalization')

fir1 implements the classical method of windowed linear-phase FIR digital filter design [1]. It designs filters in standard lowpass, highpass, bandpass, and bandstop configurations. By default the filter is normalized so that the magnitude response of the filter at the center frequency of the passband is 0 dB.

fir1实现了带窗线性相位FIR数字滤波器设计的经典方法[1]。它设计了标准低通、高通、带通和带阻滤波器。默认情况下,将滤波器归一化,使通带中心频率处滤波器的幅值响应为0 dB。对于具有任意频率响应的窗口过滤器使用fir2。

b = fir1(n,Wn) returns row vector b containing the n+1 coefficients of an order n lowpass FIR filter. This is a Hamming-window based, linear-phase filter with normalized cutoff frequency Wn. The output filter coefficients, b, are ordered in

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值