No BSD License  

Highlights from
1D Gaussian lowpass filter

2.66667

2.7 | 3 ratings Rate this file 33 Downloads (last 30 days) File Size: 1.13 KB File ID: #12606

1D Gaussian lowpass filter

by William Rose

 

11 Oct 2006 (Updated 11 Oct 2006)

Returns coefficients of 1D Gaussian lowpass filter

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
08 Oct 2007 HI kim

I will check

14 Feb 2008 davala ramanaidu  
22 Feb 2008 tejaswini pasrija  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
filter design William Rose 22 Oct 2008 08:43:23
filter analysis William Rose 22 Oct 2008 08:43:23
gaussian lowpass filter William Rose 22 Oct 2008 08:43:23
1d William Rose 22 Oct 2008 08:43:23
coefficients William Rose 22 Oct 2008 08:43:23
signal processing William Rose 22 Oct 2008 08:43:23
low pass William Rose 22 Oct 2008 08:43:23
gaussian lowpass filter Alejandro 07 Apr 2011 09:37:25
gaussian lowpass filter Imen Charfi 01 Jun 2011 06:33:08
1d Hua Jiang 03 Nov 2011 07:54:51

Contact us at files@mathworks.com