Software Listing of Author : "William Rose"
- 1D Gaussian lowpass filter
- License: Freeware
- Price: 0.00


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.
- Publisher: William Rose
- Date Released: 26-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Minimum Description Length
- License: Freeware
- Price: 0.00


Returns Rissanen's Minimum Description Length. Requires System Identification toolbox. Call it like built-in functions aic(m) and fpe(m). Use MDL like AIC or FPE to compare models of different complexities. Choose model with lowest MDL or AIC or FPE. Pintelon & Schoukens (2001) pp. 329,550 say MDL is better than AIC; AIC tends to select a too-complex model. Example: Compute & print MDL and AIC for an AR model of order 10. Data=iddata(y,[],1/Fs); m_fb=ar(Data,10,'fb'); fprintf('MDL=%.3d; AIC=%.3fn',mdl(m_fb),aic(m_fb)); William C Rose 2007-06-05.
- Publisher: William Rose
- Date Released: 27-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
