gaussfilt(t,z,sigma)
A non-GUI function that will smooth a time series using a simple Gaussian filter.
Usage:
zfilt = gaussfilt(t,z,sigma);
where t & z define the time series (t independent variable and z is data vector), and sigma defines the standard deviation (width) of the Gaussian filter.
Cite As
James Conder (2026). gaussfilt(t,z,sigma) (https://uk.mathworks.com/matlabcentral/fileexchange/43182-gaussfilt-t-z-sigma), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Signal Generation, Analysis, and Preprocessing > Smoothing and Denoising >
Tags
Acknowledgements
Inspired: Mittag-Leffler filter
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.3.0.0 | Added a fix to edge effect introduced by convolution (thanks to Aaron Close). |
||
| 1.2.0.0 | Removed extraneous keyboard command that was accidentally left in on previous update. |
||
| 1.1.0.0 | Use convolution if time vector is uniformly spaced. |
||
| 1.0.0.0 |
