1D Gaussian lowpass filter

版本 1.0.0.0 (782 字节) 作者: William Rose
Returns coefficients of 1D Gaussian lowpass filter
8.3K 次下载
更新时间 2006/10/11

无许可证

This function returns coefficients of Gaussian lowpass filter.
Advantages of Gaussian filter: no ringing or overshoot in time domain.
Diasadvantage: slow rolloff in frequency domain.
Pass SR=sampling rate, fco=cutoff freq, both in Hz, to the function.
Coefficients for FIR filter of length L (L always odd) are computed.
This symmetric FIR filter of length L=2N+1 has delay N/SR seconds.
Examples of use:
Compute Gaussian filter frequency response when SR=1000,fco=50 Hz:
freqz(gaussfiltcoef(1000,50),1,256,1000);
Filter signal X sampled at 5kHz with Gaussian filter with fco=500:
y=filter(gaussfiltcoef(5000,500),1,X);
SR,fco are not sanity-checked. WCR 2006-10-11.

引用格式

William Rose (2024). 1D Gaussian lowpass filter (https://www.mathworks.com/matlabcentral/fileexchange/12606-1d-gaussian-lowpass-filter), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Digital Filter Design 的更多信息

Community Treasure Hunt

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

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