inverse FIR filter

版本 1.0.0.0 (19.3 KB) 作者: Matthes
design inverse filter (FIR) from mono or stereo impulse response
3.7K 次下载
更新时间 2008/3/24

无许可证

[ih]=invFIR(type,h,Nfft,Noct,L,range,reg,window)
- optional GUI included-

inputs overview
---------------
type:
1. 'linphase': symmetric two-sided response compensating magnitude while maintaining original phase information
2. 'minphase': one-sided response compensating magnitude with minimal possible group delay
3. 'complex': asymmetric two-sided response compensating magnitude and phase

h:
mono or stereo impulse response (column vector)

Nfft:
FFT length for calculating inverse FIR

Noct:
optional fractional octave smoothing (e.g. Noct=3 => 1/3 octave smooth, Noct=0 => no smoothing)

L:
length of inverse filter (truncates Nfft-length filter to L)

range:
frequency range to be regulated (e.g. [32 16000] => 32 Hz to 16 kHz)
%
% reg:
amount of regularization (in dB) inside (reg(1)) and outside (reg(2)) the specified range (example: reg=[20 -6] => inverts frequency components within 'range' with a max. gain of 20 dB,
while dampening frequencies outside 'range' by 6 dB)

window:
window=1 applies a hanning window to the inverse filter

引用格式

Matthes (2024). inverse FIR filter (https://www.mathworks.com/matlabcentral/fileexchange/19294-inverse-fir-filter), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0